That's about as far as I got with my thinking as said before.
A mechanism to squeeze / release a CPR bag using axis control with a valve type unit to fill it with some oxygen after each compression. This would help free up the care workers from having to do this themselves so they could treat more.
But this is in no way a substitute for actual ventilation.