Research shows a healthy bedtime snack can have a positive impact on your health. Several studies suggest that eating a high-protein nighttime snack—specifically 30 grams a half-hour before bed—can help build lean muscle and boost overall health. Going to bed starving can also make it more difficult to fall asleep, and too little sleep has also been linked to weight gain.