I wear these:
https://www.stonesports.com/products/xion-shorts-freeride-d3o-men-l
Yes they are ideal for roller and ice skating. Before I bought these, I fell on my coccyx several times during public skating at the local rink. I was close to seriously injured, the second time and when I woke up the next day I was unable to walk, I could only crawl on my front. Fortunately I could walk by the evening, but like a cripple. It took me a week to recover. Since I bought the shorts, I have fallen countless times on my coccyx, it hurts, but the pain disappears in seconds, and I can skate again. It is a very good product. A friend who does stunts in fims, he was in Lord of the Rings, says they are best pads for stunt artists.
You can also buy a D3O pad and sew it into an undergarment that you wear over your underpants, and under your trousers.