Greasy or salty foods are tough on your bedtime digestion. Same with any food that's spicy or acidic, like tomato sauce or citrus fruits, which can increase heartburn. In addition, although ice cream is a popular late night and refreshing treat, the simple sugars can cause an increase in energy, or alertness which offsets that sleepy feeling.