Despite the various movies to the contrary, put the best teacher in the world into a ghetto school, and he’s going to be generally ineffective.
Along those lines... your thought experiment...
A thought experiment: take two schools, one low-performance and the other high-performance, and leave them exactly the same except for switching the student bodies.
How about moving all the teachers?
Put all the teachers from the wealthier, parent-caring, self-sufficiency/achievement culture, high performing school into the mostly thuggier, single parent, victimhood/dependence culture low performing school.
Irrespective of outcome [which I think can be easily predicted] there would be a lot learned.