Reminds me of the scene in The Life of Brian where Stan declares his wish to have babies:
FRANCIS: Why are you always on about women, Stan?
STAN: I want to be one.
REG: What?
STAN: I want to be a woman. From now on, I want you all to call me 'Loretta'.
REG: What?!
LORETTA: It's my right as a man.
JUDITH: Well, why do you want to be Loretta, Stan?
LORETTA: I want to have babies.
REG: You want to have babies?!
LORETTA: It's every man's right to have babies if he wants them.
REG: But... you can't have babies.
LORETTA: Don't you oppress me.
REG: I'm not oppressing you, Stan. You haven't got a womb! Where's the foetus going to gestate?! You going to keep it in a box?!
LORETTA: crying
JUDITH: Here! I-- I've got an idea. Suppose you agree that he can't actually have babies, not having a womb, which is nobody's fault, not even the Romans', but that he can have the right to have babies.
FRANCIS: Good idea, Judith. We shall fight the oppressors for your right to have babies, brother. Sister. Sorry.
REG: What's the point?
FRANCIS: What?
REG: What's the point of fighting for his right to have babies when he can't have babies?!
FRANCIS: It is symbolic of our struggle against oppression.
REG: Symbolic of his struggle against reality.
But womb transplants are already a thing between women:
UK's first-ever womb transplant hailed by doctors as 'dawn of new era' in fertility treatment
The recipient's sister, who already has children, donated her womb to her younger sibling, who was born without a uterus.
https://news.sky.com/story/uks-first-ever-womb-transplant-hailed-by-doctors-as-dawn-of-new-era-in-fertility-treatment-12945526
So perhaps it's possible with the right hormone supplements and no doubt lots of other interventions.