No
If it were possible you could get compression with zero friction.
All that is necessary for compression of gases is to reduce the volume of the container.
In an engine this is a mechanical process and so friction is unavoidable.
get a patent for your frictionless piston rings
you’ll make millions!
“In an engine this is a mechanical process and so friction is unavoidable. “
But reducing the friction leads to efficiency gains.