Yes, that works.
You would need to clear your outstanding mortgage if you are thinking of transferring the ownership to your relative without intention to collect any sales proceeds from your relative and you would have to pay normal buyer's stamp duty based on market value on behalf of your relative.
Let me know if you have any further queries. My pleasure to assist.
My mobile is 96428496
I am reachable at my mobile or email.