This type of loan is really just a form of margin -- the same thing you can get at most stock brokerages (e.g. Schwab, TD Ameritrade, Interactive Brokers, etc). It seems almost impossible to distinguish the purpose of the loans -- e.g. I know people who use these loans to fund primary residence purchases because they lack income for FHA mortgages.
In fact, unless you have a cash-only account, you likely use margin every time you buy & sell a stock. Technically, stock transactions don't settle for 2-3 days. When your brokerage fronts you the shares to immediately buy, sell, or transfer funds, it's all margin under the hood. It gets even more complex once you get into options, swaps, and other esoteric financial instruments.
TLDR: It's simple in principle, but very complex in practice. Further complicating IRS rules is unlikely to win the whack-a-mole competition -- especially when IRS auditors under-target the ultra wealthy to begin with.