Yes, you can! Many online gambling sites can be accessed by using a VPN – sometimes even if they don’t offer services in your actual jurisdiction.
Please beware, however, that if you play at a gambling website that does not offer services in your jurisdiction, you should check if they allow VPN usage before signing up.
If they don’t, you may struggle to withdraw your winnings further down the line, as most casinos require ID verification to process withdrawals.