Keeping yourself busy is one of the best ways for an addict to distract themselves from gambling. They can find a hobby that they enjoy, or do work, or do other activities that keep their attention away from gambling.
You're right getting busy with alot of goals and activities can really help one to stay far from gambling and it's alot good and better as it helps to enable the gambler stay discipline and focus. And like the saying goes an idle man is the devil's workshop, so then when you're idle your ipen to gambling at anytime and as well resulting to addiction.