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