PEX can be used for main water lines in some cases, but it is not appropriate for all projects. For example, PEX is not recommended for use in areas with high water pressure or where the water quality is poor.