Yes, diet can play a significant role in influencing menstrual pain. Consuming foods rich in omega-3 fatty acids, such as fish, flaxseeds, and walnuts, can reduce inflammation and pain. Additionally, maintaining a balanced diet that includes fruits, vegetables, and whole grains helps in overall menstrual health. Avoiding caffeine, alcohol, and high-sugar foods can also minimize pain.