It is legal.
EOS gambling’s legality depends on your jurisdiction, though. Always ensure you’re following the laws of your region before engaging in online crypto-gambling.