I used to struggle to get to sleep at night – anxiety, mind not shutting down. An early bedtime – light off by 10 pm – has had a transformational effect on me, and I now fall asleep easily most nights, even with anxiety.
The other thing which has made a huge difference is eating my main meal at lunchtime (middle of day), as others have said, and having a light dinner (early evening) … so I’m not trying to sleep while digesting a large meal. A porridge breakfast means I don’t need to snack before lunch, and a substantial lunch means I don’t generally feel inclined to snack in the afternoon. This change took a real shift of perspective, but I wouldn’t change back now. When I used to work outside the home this required planning, commitment and a food flask! Harder with a busy family life, of course.
This works for me. Hope you find what works for you.