going to bed hungry can be safe as long as you're eating a well-balanced diet throughout the day. avoiding late-night snacks or meals can actually help avoid weight gain and an increased bmi. if you're so hungry that you can't go to bed, you can eat foods that are easy to digest and promote sleep.