Can a Family Trust obtain a mortgage in order to purchase an apartment complex?
Well, there is no blanket prohibition on trusts becoming borrowers under notes secured by deeds of trust on various kinds of property. The answer to your question will be dependent upon the language of the trust instrument and the lender's evaluation of the risks.
It the trust grants the trustee the power to borrow money and encumber property, then it's not a problem.