Using multiple ras pi on one octoprint page

i have a creality cr6-se and i have been using a raspberry 400 and was curious if i got two raspberry pi zeros if i can use webcam on one and printer controll on the other but both on the same webpage? the same as using any full sized pi can do on its own

Yes, that's possible, but would suggest the pi zero 2 w. You would just adjust the webcam URLs in settings of the OctoPrint with printer control to the address of the pi running whatever webcam streaming software.

Doesn't even have to be OctoPrint running on that second one, would suggest looking at go2rtc as alternative. Would just be a matter of installing pi os lite, downloading go2rtc and creating a service to run it. I made these instructions for installing on octopi image locally, you just wouldn't run the options steps. .