I know several people that use Modafanil thanks to a friendly doctor, not due to medical need. I get the impression this is pretty common with a particular swath of tech and finance workers.
Yes, it would be the same. Likely amphetamines, or methylphenidate