Yes – plastic pipe can be used to make a pump barrel or liner.
Some years ago I helped make a simple lift-pump – as this discussed here presumably is – using a short length of 100mm dia plastic drain pipe as the barrel.
As I recall the thick PVC plate piston has no O-ring or other packing. The valves are a circle of holes through the piston, with a single disc of sheet rubber (butyl pond-liner I think) held by a large washer under the length of drain-rod that forms the piston-rod / handle.
The the best of my knowledge it is still functioning although it sees little use; priming a syphon to drain a “sump” in a rather remote part of a cave in the Mendip Hiils. This to allow cavers to visit the regions beyond – and ironically its location is too difficult for me to visit. I think it’s had to be cleaned out a few times, may have had a new valve rubber, but is otherwise serviceable. I did make an inlet strainer for it, too; using my EW lathe as a radial and axial dividing-head, with a drilling-guide bush on the tool-post.
+++
Timber-hulled sailing-ships had a constant leaks problem, and some used a rag-chain pump to drain the bilges. This was a continuous rope or chain with one leg of the loop passing up a pipe from bilge to outlet. Balls of cloth spaced along the loop trapped water between them, so its action was more like a conveyor than a pump.