Nice idea btw. Google should add avoid potholes toggle similar to their "avoid tolls". It will help people to avoid the road which contains many potholes.
But a dedicated treatment to the potholes and ability for the city municipality to download this report so that a cities can plan repairs accordingly.
A while ago, Google has kept a mobility report feature during COVID times to know where people are spending their time - helpful for the city management and research purposes.