Yep. Also...like...the extreme sexism of the general understanding of medieval Europe isn't even all that accurate, especially as a model of how the world has always worked, everywhere. That just...ain't a thing, folks.
If you married a woman in Scandinavia, in 800 AD, she could be the one who technically owned the home you share, she was legally and culturally still part of her family, she could divorce you with relative ease, the kids are hers at least as much as yours, maybe more, she could inherit property, speak at the Thing, rule a kingdom, or fight for a lord. That last one didn't happen as much as recreationalist like to imagine, but it happened, and there is no evidence of any rules against it, or stigma upon it.
Druidic Celtic lands were similarly egalitarian-ish. Certainly moreso than late medieval society, or America circa 1800 AD.
those are both societies from which big standard DnD draws inspiration.
and even later on, a lot of the "rules" were not as strict as we often imagine. Most of them could be flouted by anyone with the right sort of panache. Look at Mademoiselle Maupin*, for the best example ever. She didn't care about the silly gender norms, so she ignored them openly, and did it with such charm and style that she was celebrated, rather than stigmatized. Surely PCs are at least as cool as she was, when she first set out into the world.
Not height of her Opera career, level, of course. I mean, not many PCs are so cool they can duel the jerk in the opera production, then sleep with him, then headline the 17th century France equivalent of Coachella.
But maybe they are, "take the holy orders because your girlfriend got stuck in a convent, set something on fire, Sneak your gf out of the convent, shack up with her for a while, then go sing insults at d-bags in taverns and duel the ones that get in your face about", cool. Maybe.
*
https://en.m.wikipedia.org/wiki/Julie_d'Aubigny