Also going to point out that female characters are very much allowed, though I request that you at least do a little legwork and find out which militaries/formations in those militaries, allow females to serve as combat soldiers and so forth, if your character is going to have any combat experience. For example, the New Zealand allows women in all roles, including their SAS, the Israeli Caracal Battalion is sex-integrated and the Swedish military is entirely integrated. Do research, basically.