Not like that.
Basically, children's characters will instinctively follow what they see. It's not a problem that they will immediately become addicted to gambling. but they will see what their parents do, and they will record it in their memory. And if it happens regularly and they encounter or see it often, then the effect will be in the long term. It will be easier for children to record that thing and activity, and imitate it one day. Because they remember that their father did this too and can earn a lot of money. Maybe this won't happen immediately at that time, but their memory will remind them easily at certain times, especially when they can open gambling applications or platforms, or see gambling advertisements and so on.
because of this, to avoid negative things that might happen, it would be wiser if parents did not gamble in front of their children.
The possibility still 50:50 because it depends on their individual nature, even if they have a loving mother. The child might know that their father is a big gambler, but when their mother touches their heart to prevent them from doing anything harmful, the child still has a good chance of staying away from what their father does. I believe kids can differentiate between what's good and bad in a simple way, that's why good kids won't imitate anything bad.
So, am I approving of parents who have children and publicize their gambling activities here? Absolutely not. It's really not suitable for kids. Nevertheless, children will naturally learn about betting and gambling as they interact with various people. Yes, gambling addiction doesn't happen instantly, but it accumulates from the first time someone experiences the thrill, regardless of whether they win or lose.