Children are getting into debt on online gambling sites? Investigate. Suppose we find that half of children saw a betting ad and wanted to play, and a third just really like online poker: banning gambling ads and providing no-money online poker would be good interventions. "Remove computers from the public library" and "require ID verification to participate in pub bets" are not sensible interventions.
That's not an equivalent analogy. Freedom of movement, to stand outside a store, is a human right. It is not the same as "freedom to lurk around online spaces on Mummy's laptop and Daddy's internet account."