As someone with ADHD, I will say that adderall helps me stop playing Factorio.
You know that hyperfocus thing we do?
factorio turned that up to 11 if I didn't take my morning dose before I started to play it. I say before, because if I didn't take it, it would be 5pm by the time I realize I needed to take it
Without medication I hyperfocus on Factorio but get nothing done. Anything I do get done, ends up being spaghetti and I have to rip it all up later. With my meds I can actually get stuff done instead of staring absentmindedly at the conveyor belts (they are seriously hypnotic) and upgrading a random machine here or there.