Yes. At trust law, there is no issue with the principal (or appointor) of a discretionary trust and the trustee being the same person.
For clarity, generally the settlor (i.e. the person establishing the trust) cannot be a principal (or appointor) or a potential beneficiary.