Dual boot windows and Linux with separate drives. Lock your windows drive in a timelock safe and have it only open on Fridays or whenever you want it to open, biweekly even. Or Thursdays when you have a game session with your friends.
When you get the urge to game you need to do one of:
* install windows and games from scratch on a new drive
* get gaming working on Linux( good luck)
* get an angle grinder to bust open the safe
* drive to your friends house and get the backup physical keys
With these barriers, I almost never bust out the windows hard drive for gaming.
I do the same thing with beer.
This technique mostly works for me.
--
This is a psychological technique called "pre-committing".
https://www.amazon.com/Genie-Hand-Time-Lock-Safe/dp/B00NFIDT...