Can you use PVC pipe for the main water line to a house?
Yes, most certainly. A recommended pipe would be HDPE Class 16 and size of your choice (i recommend either three quarter inch or one inch pipe for adequate pressure) In most countries, a main line has to be underground, however, as soon as the pipe exists the ground at any given point it has to be non-metallic. As stated above check with your council or municipality regarding any queries regarding what material is allowed and how it must be installed.