I really don't think that's fair. I've seen a lot of bad cross-gender play. Indeed, until my most recent campaign, I had never seen it done in a manner that wasn't either game-breakingly jarring or wildly offensive. So, yeah, I had a "no cross-gender play" rule in place for many years.
Obviously, I would have made an exception for the specific examples you had cited... or just not run those games due to the inherent problems.
Well maybe you're ok, but it's a huge red flag for me if a GM bans cross-gender PCs. Most "no cross gender" GMs seem to have huge psychological issues, IME.
I guess if a female GM banned males playing female PCs I might be a bit more understanding, but AFAICR I don't think I've ever seen that. It's always been male GMs who ban it.