Doing this is literally as intelligent as using borrowed money to gamble. It’s just an upcoming regret, lol. You can only do this a few times if lucky before you start losing and going insane about it.
I’ve seen people in my life who’ve done this. Borrow to gamble. It never went well in any of these cases. Better be semi-broke than trying literally the worst thing you can try to get out of brokeness.