A Trust can typically own a 529 account. But:
Do the terms of the Trust allow such an arrangement?
All contributions to 529 accounts must be done with cash. If the Trust needs to sell assets to generate cash to fund a 529 account, that's potentially a taxable event.
If you are asking about a scenario where the Trust does not own the 529 account that will be funded with Trust money, that raises a different set of questions.