The difference between a male voice and a female voice is harmonic not pitch.
In green was a sample I took of a male voice
In blue was a sample I took of a female voice.
Pitch is indicated in this graph by the location of the first peak as you can see the female voice is higher than the male but not by much and a higher pitched male voice would still be male.
The big difference is the number of peaks in the 0k-1k hz range as you can see the male voice makes about 8 separate harmonic noises. The female I took the sample of produces only 3 peaks And instead to compensate for the lack of harmonic a female voice uses much greater pitch variation.
it is possible by using only half of your voicebox for a male to generate a female sounding voice.
The female who's voice I sampled was almost unusually high pitched she was abit petite.
This was a voice sample taken from a 44 year old woman as you can see the pitch is abit lower but even still there are only 4-5 harmonic pitches compared to a male voice which has many more.