With the TVs I know who have continued with their relationship it has generally been where the dressing is private and any sex is purely with their partner.
The key factor that we all finally realise is that we are who we are. Aint no magic pills or treatment will change that. No matter how many times we “purge” it is always there. The best relationships survive when they are honest no matter what gender etc they are.