Right. Sleep has to do with tidying up your brain, exactly how and why we do not know, but it doesn't seem to have much to do with energy.
By way of analogy, your car gets its energy from its fuel, but if your car gets stuck in the mud, you don't get it out by pouring fuel over it, but by digging or towing it out.Similarly, if you are sleepy you do not wake up simply by eating a plate full of sugar and fat. What your brain needs then is sleep, not kilojoules.