I suggest not withdrawing funds from casinos to exchange accounts, because exchanges keep a strict track from funds' origin, while sharing this data with regulators from your country. It means that the government's organ is receiving update reports on exchanges' users history and activity.
If there is a ban against gambling in your country, it can be used as excuse to freeze or take your funds from the exchange, for an example. Or, it can be used as excuse to enforce you to pay taxes over your gambling winnings.
It's not assured that it will happen, but if it can be avoided, why not. Better to cashout funds directly to a self custody wallet.
This is what exactly happened to one of our local custodial wallet.
Users were too complacent in using it to connect their wallet to any online casinos, just before the custodial wallet imposed the strict local regulatory mandates and AML directives aimed at closing financial loopholes. Every account who has a track record of being involved in gambling mostly was being investigated and while the investigation was ongoing, all transaction was suspended, which eventually leads to some accounts getting banned including the funds.
So, yeah, I agree, that if this has been bothering us, better to avoid it or face the possible consequences that we're already aware of.
We sing about privacy every now and then on this forum and the fact is these kind of conditions are actually the most basic forms of expressing it. You should not be associating gambling accounts to your centralized exchanges in the first place. At the very least you should have a wallet for send and receiving from both.
Exactly one of my thoughts about this, and seems like we tend to forget about it, lol. This is more than just funds getting frozen eventually, but keeping our privacy is as important.