Most, if not all, gambling sites have restrictions such as rollovers that prevent you from doing this.
An example explanation from https://www.sportsbettingdime.com/guides/bonuses/explained/
"Understanding rollover with an example might help. Let’s say that you deposit $250 to a sportsbook that is offering a 50% bonus with a 5x rollover. This means that you’ll have $375 to bet with, but can’t withdraw the bonus money until you’ve placed $1,875 ((250+125)x5) in bets."