I dont know if its my imagination but im sure ive seen a number of women commanders leading armies and defending cities in my games.
They can't lead armies, but they are able to defend a castle in the case of a siege. So having a wife with high martial stat can be very advantageous.