Is There a Game Where You Are Virtually Pregnant Online?

A few, yes. The Sims 3 handles pregnancy and family life as a core mechanic. Second Life has a large roleplay community built around it. Woozworld has also been used that way by its players.

That is the extent of what I know of, and it is worth noting the difference between them: the Sims treats it as a game system, while the others rely on player-run roleplay with no built-in mechanic at all.

If you want the version with actual gameplay attached, the Sims is the one to pick.