Assuming this is possible to do without immediate tax liability, it is a huge risk. What if you have $100 million in outstanding loans and the share price crashes to 0? Now you have a $100 million realized gain and nothing to sell to meet your huge tax liability.

Have fun in federal prison.