No, current evidence would suggest that just because you eat a certain food doesn’t mean you’ll get gestational diabetes. In fact, there is no surefire way to prevent gestational diabetes.