Don't put money in a place you have access to IMO, you should put your BTC in a cold wallet imo, also try doing something offline and get yourself distracted from it IMO.
This is a good idea and I want to add you can just simply remove and block all the gambling websites that are related to bitcoin or not even in bitcoin but all the possible gambling websites. I guess there is a software that is able to do that for free or else you need to invest also in able to completely quit in gambling if you want to.