As for me, I can't fall asleep if I eat too early dinner. Food makes me sleepy so I have dinner quite late to avoid rolling over my bed for hours.
When I was younger I'd eat ice cream before bed. People were always dismayed, certain that it would give me nightmares. But that never happened. I just started gaining weight and no longer keep ice cream in the house.