Is it possible to force a baby girl or a baby boy in the Sims 4? Or is it possible to change the sex by exiting to the main menu until you get what you want?
There is the Pregnancy Mega Mod, with which you can choose the number and the gender of babies, other than that I don't think there is another way to determine the outcome of the births.