My wife got on stimulant meds after her diagnosis a couple years ago and they were life changing for her. She was having trouble getting them for a couple months during the shortage and that was tough on her.
Like another commenter mentioned, you'll probably wanna avoid caffeine for at least the first couple of weeks if you're taking the stimulant meds. Once you adjust, you may be able to do caffeine again, but you may give yourself a real bad day if you aren't careful.
Over the years, I've become one to keep my media use as legit as possible. No judgement on anyone who doesn't, but for a variety of reasons I have chosen to.
For retro games, that means my process is:
Though honestly I can't really be bothered to tinker with shit as much anymore these days, so often (but not always) by the time I arrive at unlicensed emulation as the solution I'll just decide to play something else instead.