Does OctoPrint need a Raspberry Pi?
No. Any machine that runs Python 3 can host it, including Linux, Windows, macOS and Docker. The OctoPi image for a Raspberry Pi is just the quickest way in, because it bundles OctoPrint and the webcam streamer already set up.