Lol, yeah, I drink coke when I'm going to bed even. I slept from 10 till 1:30 tonight, and drank a coke between a couple minutes before going to sleep, and a couple minutes after waking up at 1:30. I have a new coke with me right now. Energy drinks have no effect on me now, unless I get 2 or so, but I'm cheap, so I never do.
Also, never ingest too much caffeine when you're high. Being EXTREMELY fidgety, shaky, and restless and hardly realizing that you're shaking and fidgeting while being stoned is not exactly a good thing. Not to mention the combination of being stoned and your mind going nuts from the caffeine is not pleasant. It really wrecks the point of getting stoned and makes you VERY easy to be caught.