The Average Modern Gamedev Company works really hard at making sure generalists are being stifled by siloing every discipline into their stupid little pod or whatever on a different floor or even building, and then not letting anyone touch anything that's not "theirs", so the few generalists that do exist in that space exist despite everything.
Small Indies have this problem to a much lesser degree, because, given the size of the average team, it is almost expected that some people will Wear Many Hat™, and there usually is just so much more communication between the various people working on the game at any given time!
Seen a couple of CEO types recently insist that everyone needs to return to the office because that will bring back the fun cooperative laser-focused game development of yesteryear, and it's like "No, Steve, you miss the days when your company had like 50 people in it that all cared about the game you were making together, not the multiple hundreds you ballooned to over the years."