Use zwift with pedal exerciser?

I have a CSF leak and I can’t have my head higher than my legs for very long… This puts a hitch in my bike riding get-a-long. I can’t ride a bike for as long as I want to or need to, as I need to lie down a lot. Is there a way to get zwift to work with a pedal exerciser? (Ya know the under desk types or such). That way I can lay down and bike. Thank you!