Whilst the Legion's doctrine specifically states that females cannot join the Legion, the game does allow the player character to side with the Legion, with no differences in the dialogue or plot concerning which gender the player is. This is quite a weird plot hole if you ask me.