hey yeah there is depends how long you were together with that ex.....ive stayed friends with most of my ex and we are quite close friends and my boyfriend doesnt mind me being friends with them. As long as you both agree your better of being mates then it should all work out.
sometimes there can be problems when one still has feelings for the other but other than that i see no problem being friends with an ex.
hope this helped x