Like caffeine?
Turns out I had ADHD and I had been using caffeine my entire life as a crutch.
Diagnosed in my late thirties, and although finding the correct medication and dosage that works is an ordeal… once you are there you realize you’ve been swimming with a hand tied behind your back this entire time.
It’s not a magical cure motivation-in-a-pill though, it requires you to do the work. It simply enables you to try instead of completely failing to attempt anything.
I eventually got diagnosed ADHD in my 30s, and my doctor suggested that my coffee problem was a subconscious effort to self-medicate. I've been on stimulants for a few years and quit coffee easily (with some nasty headaches and such, but no real cravings)
I do still have coffee now and then, but only occasionally and only because I like the taste. I often stick to decaf when I do have it, too
However, it does not affect me quite like it affects most people. I find that caffeine before bed helps me quiet my thoughts and fall asleep, for example.
Mind you, I have not been diagnosed with ADHD (I can't be bothered going through the process of diagnosis when I already have medication and techniques that work).