I've only had 2 games like that in my life, EverQuest (also called EverCrack) and Factorio (also called Programmer Crack). I had to go cold turkey or I was skipping the gym and meals and not sleeping!
One thing I credit Factorio for (and I am not joking at all when I say this, despite how ridiculous the statement might seem) is learning to be a little more understanding about folks that deal with addictions.
I've never had a problem not doing something to excess, so I never really understood people who do. But when I first discovered Factorio a few years back, there were
enough times where I didn't do $ActuallyRatherImportantThingX because I was allllmost done with some aspect of a megabase to give me pause.
There are lots of games I can play for a specified amount of time and be fine with it. Pretty much all of them, really. Factorio, I get annoyed if pulled away in the middle of a project. So now I know to not even start unless it's free time for the rest of the night.
EverQuest was actually the game that taught me what the bad signs were.
In high school, my friend was into drugs and partying. I was into EverQuest. I think we'd have both been better long term if he'd gotten me into drugs instead of me getting him into EverQuest.