I have no doubt that some girls have chosen the career path you specify of their own free will, and they are entitled to do that if they wish. But I think you’d need to go back to my parents’ generation, people born in the very early years of the last century, to find women who had to take that course despite wishing for, and being capable of, some other career path.
I do think that much beyond primary school age it is undesirable to subject boys and girls to severe corporal punishment together….
My objection relates simply to the possibility (of which there is some evidence in this estimable Forum) that boys especially might be influenced towards a fetishistic interest in corporal punishment by such a process.