Of course it is.
The law demanding copper, or galvanized, is only there as a make work proposition for the plumbers union. The only reason the Duffus vetoed the bill was because of a hugh donation.
All the water mains installed now are plastic. My only objection to it is it is highly suseptable to damage and prefer to expend the addional money to use copper.
Properly installed and sized Schedule 80 is superior to copper. No electrolysis. Our main is 1-1/2". It's not going anywhere.