Yes, an individual's diet may put them at risk of developing sexual dysfunction. As we found in our previous research, one of the causes of obesity may be a diet with high-sugar and carbohydrate foods associated with the condition. Obesity is considered a lifestyle factor for the development of sexual dysfunctions such as erectile dysfunction.