Way back in the dark ages I helped out in the admissions department at the University of Georgia, and they tracked avg GPA and matriculation percentage for all of the high schools in the state. I’m sure they track a lot more now.
What a school like Harvard tracks and how they weight it is different though. They probably don’t have enough admits from most high schools to tease out anything of value.