It it possible also for soldiers not to carry a gun or knife, for example let soldiers primary weapon be a flag or any other symbols that can be legally displayed in the modern day that is on a pole.
It can also be any historical flags or unit flags.
this could only work for a specific game mode like capture the flag or raise your flag at the other enemy base. i mean this could work for a game like capture the flag it could possible be able to carry the flag and only be able to hold a melee or a pistol