This sounds like an ownership structure rather than structuing the loans.
It is generally not tax effective to buy a residence in a trust if it will be the main residence as there is no main residence CGT exemption and often land tax payable even if living in it.