I did hear about some odd sleeping pill, not sure if it existed or if it was just a concept someone thought about...
The pill was a normal sleeping pill, but with a core of cafffine, it would be designed so that it would take X hours to dissolve and once it got to the core, the caffine would wake you up on time.
The more I think about it, the less I believe it would ever work.
I do this the manual way. Set alarm half-an-hour early for coffee, drink it and go back to sleep. Wake up moderately more awake 45 minutes later. Doesnt always work. 4/10