Yes. Section 93 provides that husband and wife can divorce whenever both agree to end the marriage.
A written settlement is useful where the spouses also agree on property, maintenance, custody or child expenses. Any agreement concerning a minor must not be contrary to the child's interests.