I read someone saying "habit of gambling" come on man, what the hell is that? If you are treating gambling as an habit the only i can say is you are an addict gambler who only put a masquerade in front to not show what is the reality below the surface.
About the main of the topic, the best you can do is always avoid to bet on full luck things. And resposible exist but only a few people can do that.
You have a point but from my observation about the quote. I believe it's either the person is not a gambler or s/he is gambling-addicted because anything that's a habit is something the person can't skip every day, and when gambling is seen as an everyday thing, it is easy for the gamblers involved to lose the ability to control their buzz.
Having said that, there are games that involve luck, and any strategy uses a void, but the most important thing is understanding the game concept, never going beyond the limit, and there is no luck on the gambler's side early exit won't kill.
Or maybe the person who used that "gambling habit or habit of gambling" in his or her sentence isn't too good with English and believed that was the right way to say it or pass his or her message, but good that the both of you have pointed it out that using such, or any gambler who have started seeing gambling as a habit is already addicted to gambling, not that he is she is getting addicted for this is a process which I believe he or she have gone through and passed before he or she began seeing gambling as a habit.
Anyways, this is something we also should always watchout for in ourselves and make sure to draw ourself back whenever our love for gambling is getting to such a level.
And speaking of avoiding luck based games, it's simply depends on gamblers choices, so I wouldn't advice same, I sometimes simply love to play luck based games for fun, like slot and casino games.
So, except a gambler is always playing for money, then indeed, luck based games aren't the best choice to focus on in this regard.