Did a quick test… it works.
You could experiment the Make Rot nodes to see if they give you same result with less nodes:
Jusr keep in mind this setup does not allow the camera to go upside down.