Honestly, many gamblers say they'll stop gambling, but after a few days, they're back in action again. Well, I hope that will be serious and you'll never get tempted again.
Though this idea could help you, mate, it wouldn't completely make you safe, and there would be no room for gambling again. It actually takes time to close the door on gambling, and if you survive, you're totally free. With this, it could help more if you make yourself busy with other stuff to completely get gambling out of your mind.