Yes, certain foods can exacerbate cough and phlegm. Dairy products, for some, may lead to more mucus and excess phlegm. Spicy and acidic foods can trigger acid reflux, which often leads to coughing. Observing how your body responds to different foods can guide your dietary choices.