In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
If the family relatives can guarantee that you would be living on your terms away from your husband for the sake of your children, there is nothing wrong if you choose to reconcile khul` that as long as you still maintain conjugal relations.
In responding to your question, Sheikh Ahmad Kutty, a senior lecturer and an Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states:
If, however, you have been given assurance by the parties, who are trying to settle the dispute between you and your husband, and they have suggested the formula that you would be living on your terms away from him for the sake of your children, there is nothing wrong if you choose to accept that as long as you still maintain conjugal relations.
I would advise you to turn to Allah for solace and comfort through dhikr and recitation of the Quran. And never give up praying to Allah to change the heart of your husband so that he realizes the enormity of sins he is committing. People can change, with the help of Allah if they can motivate themselves.
I pray to Allah to bring you relief and comfort.
Almighty Allah knows best.