Another issue might be in bonding the PVC to the foam. A latex-based contact won't eat the foam...but won't stick to the plastic. In metal boats, I've used PVC pipe as electrical conduit and then it gets foamed in place when the hull is sprayed with polyurethane foam. The foam doesn't stick to the PVC either, it just encapsulates it and locks it in place.
I like the idea for smooth corners...I just don't know what you'd glue it with that wouldn't trash the foam.
Maybe screwed along the edges into a light wood backing ?
PVC pipe also has a thermal 'sweet spot' where you can bend it without melting it.