Here’s a whole thread of my experiments around CNC sanding:
I used large-ish sanding pads but there is no reason why it could not be done with smaller sanding heads, and appropriate toolpaths
The key element is having some way to keep the sanding pad against the surface, so soft cushion above the pad itself, or a spring-loaded mechanism (I mean for bottom surfaces)