Sure... I guess HSM and Glee are similar in the same ways that LotR and Harry Potter are similar...
While there are some similar elements in both HSM and Glee (such as a jock joining a musical group), it's hard to reduce HSM down to that single element when, in HSM, it's hard to see Troy joining the musical as bringing down the... "social order." Also, remember that Gabrielle was herself the nerd who didn't particularly care to join either. And then HSM2 and HSM3 have little of those themes involved. In Glee, when the football player joins glee club, it doesn't really bring down the "social order" anyway.
It's too early to tell what Glee will turn out to be exactly. For sure, it's not directed at the pre-teens.
I'm assuming you haven't even watched the episode yet. I doubt you'll like Glee but it's hard to make comparisons between two things when you haven't seen both things.
The
only similarities I can see as far as the two shows go is that they both involved music and that they're both portrayed in a high school setting where there are bound to be some of the same archetypes played out.