Yes, gambling with Monero is legal. The only thing that you need to worry about is finding a legal online casino that is licensed. This will ensure that your assets are safe and that you are able to play with total comfort.