Cal. Prob. Code § 15203
A trust may be created for any purpose that is not illegal or against public policy.