It is, but you have to be consistent with it, and that's the hardest part that people often not acknowledge. It's extremely hard to be consistent at not doing something especially if that something used to take up the bulk of your time before. My advice is to take up a hobby that consumes a lot of time as well that will steer you away from gambling. Making yourself busy and not allowing any free time for yourself to gamble is one good strategy to lay off the degeneracy once and for all.
Consistency is very influential in efforts to reduce gambling activities because being consistent means consistently suppressing desires and thoughts when you really want to gamble, I have studied it and I know very well what it is like to experience difficulties in dealing with problems like this.
Good advice but I have often said the same thing because having enough other positive activities can make us reduce the intensity of gambling and forget about it for certain period of time.
This method works for some people, but not to completely stop but also to simply reduce and get used to the pressure of not doing more gambling activities excessively.
We can only give advice and suggestions based on our personal experience and of course we can say all this because we have been successful in doing it.
Somehow, for other people, it is clear that if it is based on the right intentions and efforts, it will definitely be successful.
And I would like to remind you again that actually stopping gambling altogether forever is difficult matter, but to reduce it there are still many efforts that will be successful if done correctly.