I used to think so as well. I was always of the mindset that I had to feel somewhat full to "relax" me so I can go to sleep. I could never seem to fall asleep while hungry.
But, I found out, it's actually just a mindset thing. Once I realized that, I found that I could go to bed hungry and still get a great nights sleep. I know it sounds incorrect but sometimes attitude and mindset really can influence outcomes.