Is there any way to keep your assets private in a divorce?

Yes.  Here is the Source of Law that Applies:

§ 7.006(b) Agreement Incident to Divorce or Annulment – AMENDED

(b) If the court finds that the terms of the written agreement in a divorce or an annulment are just and right, those terms are binding on the court. If the court approves the agreement, the court may set forth the agreement in full or incorporate the agreement by reference in the final decree. If the court incorporates the agreement by reference in the final decree, the agreement is not required to be filed with the court or the court clerk.

Source: HB 559

Effective Date: 9/1/19 – applies to an agreement incorporated by reference in a final decree of divorce or annulment regardless of whether the decree is signed before, on, or after the effective date of this Act.