The California "Safe at Home Confidential Address Program" provides for special forwarding addresses for people who swear that they are "attempting to escape from actual or threatened domestic violence, sexual assault, stalking, human trafficking, or elder or dependent adult abuse," and need to "establish new names or addresses in order to prevent their assailants or probable assailants from finding them" (and possibly provide some corroborating evidence).
And Cal. Code Civ. Proc. § 367.3, enacted in 2019, adds to that:
A protected person who is a party in a civil proceeding may proceed using a pseudonym, either John Doe, Jane Doe, or Doe, for the true name of the protected person and may exclude or redact from all pleadings and documents filed in the action other identifying characteristics of the protected person.