It's an old backpacking/youth trip trick, to trade food for sleep. When you're going on too little sleep, you can stay awake and functional by gorging -- and the weight doesn't show up, because you're body is taking everything you give it and using it to function.
But you can't keep it up forever. Eventually, eating because you're tired means you're eating too much. The obvious cure for that isn't denying yourself food, it's creating room in your schedule for more rest.