Octoprint and Hassio on the same raspberry pi 4?

Hello,
I was wondering if I could run hassio and octoprint on the same raspberry Pi 4. I am not speaking about the octoprint component, since another Pi is needed. I would like to plug my 3d printer into that hassio-Pi.

Thank you