Friends with an ex

Have you ever actually been successfully friends with an ex? No random hookups and all that but really being able to be friends. I really care about my recent ex and I know it was right that we broke up and I don’t regret that, but we really are so similar and were each other’s best friends. I know I would have to make sure the romantic feelings were completely out of my head first, but I just think it would be a mistake to completely cut him from my life. There’s not a lot of bad blood, we just both need to heal first. Thoughts?