Late-night eating can affect hunger hormones and blood sugar and potentially disrupt your sleep. But eating certain foods, like tart cherries, plain yogurt, and nuts, could promote restful sleep.