To the extent that your diet can cause you to gain or lose weight rapidly, thereby affecting your hormones, yes diet is important. However no foods are proven to cause stretch marks. So if you eat a lot of 'x' food, it will not cause them.
Weight Loss and Gain Impacts Hormones in Skin
Weight gain or loss has a dramatic effect on your body's hormones and it is those hormones, which are present in the skin, which cause stretch marks to appear. The body's expansion is not 'stretching out' the skin. Its hormones related to weight gain, pregnancy, puberty or other events associated with changing hormones that cause stretch marks.
The information contained in the above article
is purely for educational purposes and is not intended to provide
any medical advice. Always consult with your physician before having
any medical procedure performed.