This is
exactly what highway toll systems and ALPR enforcement already do.
But even on the public side: yes, this would be entirely appropriate. It's not clear what the alternative would even be; what would it look like to have civilian evidence in e.g. traffic accidents if people weren't allowed to take pictures of others' cars?