It depends on the gambling site. However, many online gambling platforms have started accepting Bitcoin wallets as a payment method, so you should be able to do it without a problem.