Yes, diet and nutrition can play a significant role in managing menstrual pain. Foods rich in omega-3 fatty acids, such as fish and flaxseed, can reduce inflammation. A diet low in caffeine, alcohol, and salty foods can prevent bloating and discomfort. Adequate intake of vitamins and minerals, particularly magnesium and vitamin B6, can also help.