More personally what I did with my caffeine problems was consume less and restrict the time I have it. One good coffee in the morning is enough, the withdrawal will suck but you'll sleep better in the long run. And the trick to not feeling tired all the time is to sleep well and not consume a bunch of nasty stuff in the afternoon and evening that your body can't handle well in excess.
Psychoactive chemicals aren't a solution if you don't have a problem that they can really help. That's why you see a doctor or three to determine if it's worth the risks.