"if only..." What? People are mind readers? Who says the intent of the episode is to affirm that women are second rate and cannot be allowed to command in the TOS universe? Could this seriously be taken as the point of this story? That's ridiculous.
The point of this story is to show the lengths a bitter and irrational person will go to to exact revenge upon a lover that spurned her.