All those chemical drugs available on market have a saturation effect where you take the drugs for few days or few months and then your brain gets either used to it or saturated (by saturating the receptors in brains or by some other still unknown mechanisms) and you begin looking for other alternatives.
There are also other ways to keeping yourself motivated. As per example,
1. Surround yourself with people with positive attitude and have achieved some great progress in which field you would like to excel.
2. Read some books or listen to some podcast everyday and that will keep you motivated to work towards your goal.
3. Meet with people from different fields and try know what they are doing and how they are achieving it.
4. Last but not least keep a goal in your mind (not too absurd or very easy) and try everyday a little to hammer it consistently. There is no drugs or panacea available that will keep you motivated without a proper goal in your mind.
However, these are my personal suggestions and reflections, not to be taken as legal or health related opinion.
If you think you seriously need any drug then you should consult a physician before popping up any Over The Counter pills by yourself. Those can backfire in a serious and unthinkable way.
I recently visited this leather maker who rents space in a larger co-working space full of makers/doers. She talked a lot about 'the energy' of the environment and how much that fueled her own creativity and ambitions. Drugs in isolation couldn't do that, and aren't the answer (as far as I'm concerned) should there not be some deeper isolated mental issue (like depression).
Some work, I really just don't want to do. But there's a certain category of work I really believe I want to do, but might not have been able to make myself do without Adderall. Adderall seemed to give me the energy I needed to tackle certain projects.
Doing work, solving problems, and being useful seem to be central to my self-esteem. I went through a depression that lasted about 4 years, and I think Adderall helped me stay motivated and slog through it.
Adderall really helps me, with everything. Helps me to get focused on something it doesn't matter what, once I am started I cannot be stopped, its awesome.