Yes, diet can play a significant role in influencing endorphin levels. Foods rich in omega-3 fatty acids, dark chocolate, spicy foods, and even certain fruits like bananas and apples have been linked to increased endorphin production. Ensuring a balanced diet can therefore contribute to better emotional and physical health in children.