you should probably stay up 1-2 hours before going to sleep because your stomach is still digesting your food and that takes about an hour or two, and if you sleep right after you eat you tend to gain weight because the food hasn't been digested. Also, you might have trouble getting sleep anyways.