Yes but the main reason those consoles were so shaky is specifically because they did not address a much younger audience. The original Wii kind of tried to but if you look at its best sellers, a ton of them were not aimed at adults.
The same is true of the Wii U where rather than targeting that audience, they tried to pivot to a more adult console with games like the zombie launch title.
So most of the success of the switch is just that it finally was a family console again. But keep in mind, they have nowhere to pivot to. That’s why the switch 2 is what it is and why it’s so late. They can’t afford a misstep and they also can’t afford to saturate the only market niche they have left.