You would struggle to be accepted for a mortgage whilst you are in a Scottish Trust Deed. Any property that you buy in the duration of your Trust Deed vests with the Trustee.
However, it would depend on your personal circumstances such as your income, and whether you can convince a Mortgage Advisor that you can reliably make your mortgage payments.