In my opinion I think it's one of the right steps to take when you are trying to recover from gambling addiction. Because what you don't do constantly you start losing the urge for it. Not just depriving yourself for a like a month or two. If you can deprive yourself for like a whole year or two, and find something else to engage your mind like learning a new skill or finding anything that will keep your mind engaged for that period of time that you are depriving yourself from gambling. You will find out at the end of the deprivation period, that you will view gambling differently from the way you saw it at the first time that you were battling addiction. The urge for those reckless gambling will fade away and the addiction will be gone.
It will be very difficult to get over addiction if they rely on deprivation to quit addiction. They may not do it constantly, but they stay around those who do it, they see Ads and make use of applications that supports gambling adverts. I will suggest total abstinence to anything that has to do with gambling. Even if it means by a new device with a restriction any gambling apps or website. Once the gambler dont see any gambling Ads, his mind wont go into gambling at any time, that way they will forget about gambling for a while.