I’ve regularly sold my old Motocross helmets. I’d never sell one that was crashed, dropped or tampered with that could be detrimental to its performance obviously, because it would just go straight in the bin.
I’ve sold helmets that are perfectly good, used but good, and people have happily bought them on my word and visual inspection alone. I personally wouldn’t buy a second hand helmet ever.