It highly depends on a multitude of different things but I would say that yes, exes can be friends after a break up.
But it severely depends on how the relationship went, how they broke up, and how good a note they left on.
I'm personally friends with most of my exes. Some I don't really see too much but I'm still on good terms with them. It varies with different people and how the relationship went.