Inside a multiplexer, can it work if i use a Pmos instaed of Nmos to reduce number of inverter?
Yes you can do this but a PMOS can only pass a solid '1' while an NMOS can only pass a solid '0'.  Otherwise there is one threshold voltage drop across the pass gate.  

This makes it hard to chain longer structures together because you lose voltage at each stage and so you must rebuffer the signals (inverter or something to restore logic levels).

The solution to this is to use a transmission gate which is parallel NMOS/PMOS with opposite polarity gate signal as the select.