I think instead of focusing on gambling addiction, schools should have like a mandatory subject talking about the dangers of any kind of addiction which teaches them to do things in moderation.
Having a designated subject primarily for gambling addiction only can be both a boon and a bane- it can be a boon where it can teach students to be more careful with their decision into not trying gambling at all; and it can be a bane when curiosity sparks with these students for them to try it.
In conclusion, I highly recommend that in the early levels of education, students are being educated on the dangers of being addicted to a certain activity so that it can be an all encompassing lesson that applies to every addiction.
I think most gambler knows the side effect of gambling but still, they are gambling. Though there is no way to stop gambling addiction this type of education may make a lower number of gambling addicts few people may stay away from gambling for such an education.