Walk in to your doctors office and ask getting modafinil prescribed for improved work performance. What's the argument against it ? The ones I've heard are about them being there to treat conditions, etc. and giving stuff like this to boost performance of healthy individuals is very much a taboo.
I’m not even remotely qualified to so much as read and understand medical jargon, but even I can recognise that several items on this ([0]) long list of stuff that interferes with (or is interfered by) mondafil includes both food and stuff you can get without prescription from the new-age-hippie section of a supermarket. Given the dumb things my hippie mum gave me as a teenager (and my dad without telling him [1]), all I can say is that this seems to me to be unwise to make trivially available.
Perhaps I’m wrong. After all, the fact a random person like me can’t read and interpret the warnings like a professional would is as much a limit on how seriously to take my concern as it is a reason to be concerned.
[0] https://www.drugs.com/drug-interactions/modafinil-index.html
[1] at the very least Bach flower “remedies”, which would probably be harmless except for all the alcohol. She thought she was doing all of us a favour.
Outside those two categories, caffeine is one of the most used mental stimulants in the world, and sold in forms emphasising this use.