It depends on the online casino you're playing at. Some online casinos allow withdrawals using Monero, while others may not. Make sure to check with the online casino's payment options before depositing with Monero.