as soon as wealth of any sort is collateralized the tax code should treat it as liquid and tax it. preferably heavily.
Exactly. This is how IRAs already work. Taking a loan (beyond your basis) should count as realized income (while also adjusting your cost basis).
If they forced sell any stock that is has been held for more than a year on random dates and bought them back automatically, the whole scheme will be done for.