Is it possible to use both PPMIn and PPMOut in the same sketch?

I tried combining them, but with no success. If this is possible could you please provide an example.

The use case is: I'm want to read 6 channel PPM from my TX, add 4 channels and output 10 channel PPM to the radio module.