In the US they call those Prize-Linked Savings Accounts. They’re actually legalized in a majority of states but aren’t marketed particularly heavily (especially when compared to lotteries, sportsbooks, prediction markets, …)
https://en.wikipedia.org/wiki/Prize-linked_savings_account