I do something similar but you would rather have your liabilities to have a longer term than your assets require. So you would rather have a mortgage on the property funding your brokerage account.
A margin call against an illiquid asset is how many firms (including GE and citadel) nearly went...