If you are addicted in any thing, even the environment you relocate to will not make you to change rather you will be the to corrupt the environment you relocate to. Except it's a situation whereby you made up your mind to denounce gambling with your mind, it's when you will not participants in gambling again, but you refused to push out your mind and relocate to another environment because of gambling, definitely you will pertake in it. So environment does not change an adult only the children environment can change their life style totally.
There are only 2 factors that I quoted from your statement to change gambling addiction, namely the mind and the environment that both must be based on self-motivation to change to a better life because without the support of self-motivation will not eliminate gambling addiction, because one day you will back to the betting table. So changing the environment to be far from gambling is the best solution because you can make friends with new people and not gamblers, then you have to start a new life and will be free from gambling activities.