Dietary conditioning before pregnancy if you want to have a son. As we all know, dietary conditioning before pregnancy has a certain impact on the gender of the fetus. Although there is no conclusive scientific evidence that a certain diet can ensure the birth of a boy, there are some things we can try based on some research and experience.