Everybody who could afford it adopted psychostimulants in WW2. Go pills have been part and parcel since then. Some countries have adopted modafinil, but the US still uses amphetamine.
But I'm not a doctor either so who knows really.
I wouldn't recommend them in general, but mostly because they last too long to really work with a normal 16/8 sleep cycle and the other stimmy effects can detract from things other than focus work.
Which is to say, they seem better to me, but maybe long-term use is different.
https://www.cbc.ca/news2/background/friendlyfire/gopills.htm...