It is important to experience these things in life, even the tumultuous ones. It allows us to know what these feelings and situations are like so that we can navigate others in a prepared way in the future.
I wouldn’t go back to them though, because ultimately you broke up for a reason and it’s best to move on and stay that way.
You're absolutely right about that, it's just the longing and memories.