No, you can't.
Not until you get over the grief, first, that is.
Meaning, when you break it off with someone, you need to cut contact with them for as long as it takes to get over them (a good timeframe would be 6 months to a year).
After that if you want to pursue a friendship, then try it and see how it works.
But I have to ask you...why on earth would you want to maintain a friendship with a guy who was obviously just using you?