Yes, but it's not as simple as creating a campaign and hitting publish. Google has strict gambling advertising policies, and you'll need to meet both legal and platform-specific requirements before your ads can run.
If your gambling website is licensed and you're targeting a country where Google allows gambling ads, then it's definitely possible. Just be prepared for a thorough review process.