I live in a country where Gambling is officially banned, but it doesn't stop the online illegal casino to operate. Most of the people in here is quite conservative so the parent always teach their kids that Gambling is bad, and if some kids are caught gambling the parent will make an extreme measure to make sure the kid stop, like take their phone for couple of months and even beating them. Now, I am not saying that you should beat your kid because their gambling, but I think it's easier for parent to prevent their kids from gambling rather than forwarding those responsibilities to school.
Even though gambling in your country is prohibited, I think some people still play clandestine gambling and try to avoid the government and the authorities. And gambling can make anyone, including children, continue to gamble, and they can do that by playing in gambling casinos that no one knows about. Especially now that many online casinos can provide convenience for many people in gambling. But it's not easy for parents to supervise their children, let alone limit them from socializing because it can make their children turn around and become hostile to their parents. There's been a lot going on among kids that it's become like that so maybe parents need to take a different approach.
It is indeed that gambling is more easier nowadays. Even there's a law prohibiting the community to gamble, but with the easy access online, those gamblers can easily play, either by means of casinos or they can set it up online and make a bet. In terms of young generations, parents need to have a different approach in order to facilitate this young generation. They needed to excel and not to let their kid being influenced by friends who are engaged with this kind of activities.
Lessons in a school for children about addiction is actually good because there is no addiction lessons in my area yet too, the level of addiction will probably decrease. In the past, that's education was only part of morals which was only told by parents or religious leaders to children, about addiction and other meanings of life, if implemented into school lessons it would be very helpful.
Giving students' good awareness with a possible outcome if ever they got too much engagement or worse, become addicted is good it will equipt them with good knowledge and with the good guidance by their parents/guardians they will be able to avoid addictions.