There are some science - fiction or fantasy stories that might play with such an idea. For example, in a world where advanced technology allows for body - altering experiments, a man could accidentally be given the biological functions of a pregnant woman. This would likely lead to a lot of confusion, not only for the man himself but also for those around him. He would have to adapt to a new body state and all the associated social and medical implications.
One possible story could be in a realm of magic and sorcery. A powerful wizard, in an attempt to teach a misogynistic man a lesson about the hardships of women, casts a spell on him. Suddenly, the man finds himself with a pregnant body. At first, he is in shock and disbelief. As time passes, he starts to experience the physical pain, the cravings, and the emotional rollercoaster that pregnant women often go through. This transformation makes him more empathetic towards women in the end.