If you choose to ignore Lester's dialogue, it's true that there isn't any conclusive evidence that women did not command starships in the "world" of
Star Trek. All we can say is that on the television show,
Star Trek, women were not allowed to be in command.