I would have to say no as many bicycle shorts do not have the breathable type of fabric that boxer briefs has. It's been half a decade since I worn men's underwear but I remember them being more breathable than cycling shorts.
I cycle all the time...there's also the bike pad built into the crotch. That would be uncomfortable to wear.