I had the same happen to me with my best friend. We dated, fought a lot and split up, angry for a month, friends again, dated again, fought again... we have been on that rolercoaster so long, until we realized we were meant to be friends!
So you can definately remain friends, it's just natural in a guy girl friendship to go through it, and to try it and it either works or fails... Just don't complicated by sleeping together, that's a whole different story...
__________________
|