I’ve done exactly that, with a variant of the Safe-T-Planer that Shopsmith used to sell. In my case, I was flattening the backside of a half-log bowl blank, to mount a 6” faceplate. The large working volume of a Shopsmith came in real handy for that job. The process worked fine, except for being a little slow, and a LOT messy.
You could also use a router bit designed for CNC spoilboard flattening, or even a straight router bit. But at 5000 RPM, those would be REALLY slow. I’d recommend the planer head that edflorence linked to instead, or maybe a Safe-T-Planer from eBay.
As Brenda said, if your workpiece doesn’t already have one flat side, you need to mount it to a flat sled before planing the first side. I use Phil Thein’s (of Thein baffle fame) masking tape and hot glue technique for that. It works like a charm.
http://www.jpthien.com/ps.htm