Depends on your riding conditions ---- I wouldn't if I were urban, but my typical road route is a lake road that is heavily travelled by cyclists and light auto traffic during the week, so I use earbuds
I use them mountain biking too if I get to the trailhead and there are only a couple of cars, --- but if the trails are packed I skip them . Im not very fast and I dislike the idea of holding somebody else up if I cant hear them coming up behind me