Of course, you can. Just don’t do it with bonus balance to avoid any kind of trouble. With raw money, you can do anything you want; the casino won’t care.