Long story short, if a gambler still maintains control over their gambling habits there is a big chance that they can distancing from it, but if they lose control over themselves it becomes significantly harder to do so imo.
The matter is always the control, control of emotions, and how it goes with regard to gambling activity. If we can't control it anymore, we can't also control ourselves on how we're going to quit. But if you've got an inch of control over everything, quitting is easy. You know your priorities and you're all set to gamble a few times then go back without any emotional attachment to it. There are gamblers that are like that, they're coming for fun and setting boundaries, and if they wanna quit because they've got too many things to do then they'll do it.
Addiction can arise from naive thoughts hoping to win the jackpot, chasing defeat, hoping to win to make something happen and hoping gambling can win and make it happen and many more who hope gambling is the solution. And thinking like that makes gamblers unable to control themselves and play with ambition and emotion which will actually make them keep losing and repeating it again because of high expectations.
and if we do it seriously and with consistent intention we can create new activities to do with our busy lives so that we forget about addiction more and what helps more is having a job and with this we can slowly reduce addiction due to time constraints, apart from work and other busy times for personal, family, friends and social interests. And with this you can make gambling a pleasure because you can do it in your free time and also limit yourself to gambling. But you also have to be disciplined and consistent with your original goals and you have to be able to manage your own finances and limit them when you have little time to gamble.