Physical casinos within Chile are entirely legal, requiring licenses from the Federal Gambling Commission, established in 2004.
You just have to stick to legal, regulated online casino sites such as BetMGM, Caesars Palace Online Casino, FanDuel, Betway, bet365 and BetRivers. They offer great casino game ranges and they will pay out quickly and without any issues if you win.