I’m prepared to be corrected, though. Maybe I’ve just used really dumb printers and I’m not familiar with the world of pi-based 3d printers.
Fast answer: yes, you can use a Pi, most often running OctoPi, but only a Pi3 at least is fast enough - with a 2 or some Zero models, it will be unable to keep up with faster prints and possibly wreck em.
There's a newer, better firmware which I'm about to install on my printer called Klipper, which replaces the more typical Marlin that you find on most entry-level printers, and it depends on a Pi running alongside the printer's microcontroller. For that, it apparently is a huge boost in both speed and quality, so I'm checking it out.
It’s so cool that tiny little microcontrollers can handle prints without much trouble (though you can get stuttering if they can’t hold enough instructions at once), but while a Pi, despite being far more powerful, can become unreliable and ruin prints. Given that’s likely because it’s talking over a network, handling a camera feed, running an operating system, etc. I just find it so cool how useful and capable microcontrollers can be in the right settings.
Even though I claim pi is the de facto standard for getting started, a microcontroller controlling the stepper motors is a technically improved solution.
You will probably be interested to check out the beaglebone series of boards. They are less of a de facto standard but they are popular enough. Their CPUs have two 200Mhz 32bit microcontroller cores running in realtime. They can directly share the same memory as the ARM cores so you can have the best of both worlds on one computer.
Do you know of any obvious drawbacks with beagles? I can imagine the community is smaller, so there would be fewer peripherals and libraries to choose from. Generally speaking I don't really need that, though. Sometimes off-the-shelf solutions are even unappealing because I enjoy learning, or I don't want to hit edge-cases where it doesn't quite fit my use case.
For a webserver an small x86 system is a good choice but it doesn't work as the brains of an IoT device or 3D printer.