In the case you mentioned, two people agreed to stop liking or loving each other and keep in touch and share their lives. Although this arrangement seems feasible on the surface, there are still emotional challenges and risks.
Emotions are complex and may affect our thinking and behavior on an unconscious level. Even if an agreement is reached, there may still be unpredictable mood swings and struggles. So it may be difficult to completely control your emotions.
However, everyone's emotional experience and handling methods are different. Some people may be more in control of their feelings, while others may be more challenging. It is important to communicate frankly with each other to ensure that both parties understand the limitations and possible difficulties of this agreement.
The most important thing is to give yourself and the other person enough time and space to deal with their emotions and find a balance point suitable for both sides. If you find it difficult to control your emotions or emotions, or this arrangement has brought you too much pain and confusion, it may be a good idea to consider seeking the help and support of professionals (such as psychologists or psychologists).