The irony here is that these muggle-borns abandon their whole life and leave it behind once they join Hogwarts. Immigrants in UK don't do that.
If you really,
really wanted to fuck with the Social Justice types that obsess over this book, you could always draw the very interesting parallel between Muggle-Borns, Hogwarts, and the real-life phenomenon of the Indian Residential Schools in the U.S. and Canada.
These kids are being removed from their homes by a people and culture that their parents are unfamiliar with. They're sent to a residential school for seven years (coming home only for holidays), being assimilated into a new culture, and leaving their original culture behind. That sort of thing inevitably creates a very
large gap between the culture they hail from and the culture they've assimilated into- and by association, their parents, who have little to no knowledge or participation in the new culture their child is being groomed to operate and function in.
A lot of the kids who were put into the Indian schools reported a lot of issues when it came to going home and interacting with their families, because there was such a big difference in the clothing, the food, the housing- even the language was a difficulty, because the schools wouldn't allow them to speak it and often the kids were young enough that they would lose it. There were a lot of cultural consequences for Native American tribes that had significant numbers of kids shipped off to these places, because they were effectively losing a
huge chunk of the next generation that they would pass on their language and customs to.
I think it's an interesting parallel to draw to a place like Hogwarts. It's subtler, and it's played as such a wondrous thing, but when you think about all the kids who
aren't Harry, who actually have loving muggle parents and relatives back home that are inevitably going to become distanced from them just by virtue of being involved in two
entirely separate cultures that are not encouraged to mix... It's honestly pretty deperessing.