I would much rather sleep well, have less hours in the day to work with and operate at 80-100% mental capacity rather than get less sleep, drink gallons of coffee or other stimulants and struggle with being able to think clearly.
Ironically enough, it's exam season now and I may have found a solution - forcing myself to go to bed at midnight, and up at 8-9am (no matter how bad I feel) and taking one caffeine tablet in the morning and one at at lunch, I now have something like regular alertness for the first time consistently in years. It's only a few days into this phase however so who knows how it will pan out. Many a false dawn (pun intended) was had before with solving insomnia!