First, you can't possibly know that you would have a better or worse experience at head office or in the smaller location. Even if you could prove that such a theory is true in general, that doesn't make it true for this company.
Second, the company has chosen to have intern experiences at several locations and it has offered you a specific place. You don't know why they chose as they did: perhaps different locations use different tech, and you have a background they need there and will have a chance to shine. Perhaps they are making sure they don't put all the men in one place and all the women in another, or in some other way keep all the teams diverse. It's possible they just assigned people to locations arbitrarily (say, alphabetically by last name) but they have told you the exact opposite, namely
my background and interests match a team
They know your background and interests. They know the location and teams. But you have this strong belief that only HQ can give a good intern experience, so you're going to ask them to change your location. A request which would mean changing someone else's location (according to you, giving that person a worse experience) and generally require a lot of effort.
If this request came to me I would not only deny it, I would think less of the intern for asking. I would probably not go so far as to cancel the internship, but I would be annoyed that someone thought they could do my job better than me without knowing any of the details of the teams, projects, other interns, locations, and so on.
Please, do not ask. Go, enjoy your internship, and with any luck you will have a great experience.