Yes, as long as they are not the only beneficiaries.  Whenever one person is both a trustee and a beneficiary, it is necessary to have at least one other beneficiary as well, who is not a trustee.