I don't view 'never engage in behaviors that might potentially lead to addiction' as teaching good habits.
Modeling, teaching and enforcing responsible engagement in activities that might be dangerous is teaching children good habits. Now there are certain activities that are practically impossible to do responsibly, so it's my job to ban those. I don''t see gambling as one of them. Just like I don't see video games as something to ban.