Public health advocates and personal finance advisers say it’s important to know the risks if you’re going to gamble online.