Of course it is possible.
You must sell to your wife at full market value and she must borrow to buy the property to claim any interest.
If you don't need to free up cash to pay off the new ppor loan then you could transfer to the wife for under market value or no consideration.
But...