Yep. I threw out the ones that came with my 2009 iPhone (3GS?) just a few months back (though I can’t claim they outlasted the phone they came with, since I gave that away and is still being used).
They conduct signal and convert it to sound. Not sure what else I’d need. Likely I will be just as satisfied with whatever Apple ships, if I upgrade the 5S.