As long as you consume a well-balanced meal throughout the day, going to bed hungry can be safe. In fact, avoiding late-night snacks and meals can prevent weight gain and a rise in BMI. If you can’t fall asleep because you are too hungry, then you can eat some light snacks.