Does it count as quitting an addiction if I replace it with something else?

I used to stress eat, I quit that addiction and started gambling instead. Is it bad if the addiction profits you. Sometimes I spend $15 on lotto tickets and win back $20. I know it is a small profit but I am thinking what could happen in the future. I won $2k on a scratch off once, I can do it again
2 answers 2