That's not really true.
There's a reason why in many countries (including mine) medicine students take them en masse for studying/exams.
“‘Smart’ drugs can decrease productivity in people without ADHD, new study shows”
https://www.unimelb.edu.au/newsroom/news/2023/june/smart-dru...