When you have an account in a bank with some steady inflows, like from a job, banks will allow you to take a fast loan. The amount depends on many things like the bank itself, the amount of money going through your account, the age of the account, current loans that you have, and so on. In my case I had about 1.2k EUR of steady inflows in one of my accounts and could take a 5k EUR loan just like that from my bank API so a small loan is usually not a problem. There are companies that grant small loans with no collateral within minutes. You just need an ID.
That said, I wouldn't recommend going into debt to gamble.
The problem with what you say is that nowadays many people who have self-control problems take instant loans to continue gambling, which is a disaster. In the end they end up having to pay back a 5-year loan because they couldn't control themselves one night. I think the banks know this and that's why they make it so easy, and I'm not just talking about gambling.
What the OP is proposing is different, however, it would be a premeditated action, but a crazy one nonetheless.