Maybe if the whole team was still there they'd still make slop.
History says that's actually pretty likely. For a good example see Bethesda Game Studios. They've kept the same main people for 20+ years at this point. If you're looking for a studio with "the same names", that's your studio of choice. I can't think of any studio with such a strong record of keeping the same people in charge. Yet BGS peaked with Skyrim in terms of overall game quality, esp. relative to the market, and Starfield is just incredibly bad, like genuinely shockingly bad, especially writing-wise. Honestly it was reviewed too kindly because people were desperate to find something good - it's not even a 7/10 game, it's a 6/10 with a lot more content than is normal for a 6/10.
What makes studios work well usually isn't a couple of dozen specific named individuals, who are often overrated (as we almost always see when they work solo or lead a small team), it's the team culture as a whole, and that culture can be wiped out by layoffs. As Jason Schreier has discussed at some length, Andromeda, Anthem and Veilguard underperformed in various ways for specific but different reasons, none of which was "bad team culture" or "missing people they needed" (except in that people from Andromeda and DA4 were kidnapped to work on Anthem). I can go into detail on his reporting if you want - he himself said he might make new videos autopsying what went wrong with each in the next few months - but it was different things each time, and with Anthem a ton of the blame is on EA, not Bioware, and with Veilguard, most of the blame must be on EA behaving extremely capriciously. Notably with Veilguard, they lost David Gaider* but the thing Gaider was the master of - DA lore - Veilguard is actually extremely good at! That's probably the strongest element of its writing!
We could also look at Larian - with BG3 (actually starting with the DOS2: Definitive Edition where they redid like 50%+ of the dialogue and text) aside from Swen, several of Larian's previous high-ups got, depending on how you look at it, either demoted, or passed over for promotion with outside hires. For example, Larian's lead writer on DOS2 and most of the earlier games back quite a long way got made into just "a writer", whereas a guy with limited game writing experience came straight in from outside as #1 (Adam Smith), and Chrystal Ding, with zero game writing or even publicly-known fiction writing experience, basically a psychology academic came in as #2, and absolutely knocked it out of the park (and it's clear what she was doing re: psychology influenced what the game was about, too, interestingly, similar themes).
* = (now consulting on The Expanse and working with his own studio as well - the two games they made so far were merely decently-written rather than stunning, and honestly Malys has painful gameplay for a roguelike deckbuilder, they got the formula wrong imho - but at least they put out two games! Infinitely more than most "ex-Bioware..." or "ex-Blizzard..." etc. studios manage!)