No. There is no way to do this. Where you got the funds to buy your new properties doesn't matter to the Canada Revenue Agency (CRA). And what you do with the proceeds of selling your old property doesn't matter to them either, so long as you pay any capital gains tax that you owe because of the sale.