I still don't see the use for these pills out of last resort party add on.
You might also have another condition like depression.
I've experimented with several chemicals (probably not legal where I live) and indeed not all provide both focus AND motivation.
Healthy work habits, enjoying the work that you do, having longer term goals and your work actually contributing to your longer term goals, having hobbies outside work and so on and on -- all these things can help.
Also make sure you lead a healthy lifestyle, you sleep properly, you do physical activity, check you vitamin Bs, hormone levels -- thyroid, testosterone.
You can also do a DNA test with 23andme/ancestry and then analyze the raw data with something like Promethease.