It’s not victim blaming to say that there are precautionary measures one can take to avoid becoming a victim.
Not have male relatives, not have male friends, not have sexual relationships with men, not live with men, not work with men. I think that covers the actual things that might reduce your chances of being raped. If your partner is a rapist, walking down dark alleys rather than being at home on your own sofa is probably safer.
And of course men can be taught not to rape. Happens in many cultures, some of which have been mentioned above. They are also taught TO rape by porn, abuse and violence at home, mass culture and misogyny.