Should sex be legally restricted to a mutually agreed upon written?
No. Such a contract would not have any effect, because sexual consent exists only in the moment and can always be revoked. See Franklin Veaux's answer to Can my girlfriend and I enter into an agreement on paper before a live-in relationship to avoid rape allegations in the future? It saddens me that so many people dont understand consent.