Eating crackers would be bad for teeth.Most of that is basic sleep hygiene. No computer, phone, or such in bed. In and out of bed the same time. Snacking though, if needed a light snack of something like a few crackers if you need it isn't going to hurt and could prevent waking prematurely from hunger.