Okla. Stat. tit. 43, § 43-205
Relations cannot be altered by contract - Separation
agreements.
A husband and wife cannot, by any contract with each other,
alter their legal relations, except as to property, and except that
they may agree in writing to an immediate separation, and may make
provision for the support of either of them and of their children
during such separation.