I dont know if it is legal orno but one of my cousins wife in gujarat divorced him to ge into a 2 yr contract marriage with another gentleman.He was married and so they did a contract marriage.They had legal documents in which the terms and conditions were mentioned.
So I dont know how legally binding it was as a marriage but they were living together for two years and he bought her a house etc.