It depends.
In terms of North American and European software, Nintendo has a very spotty record. The games either don't come to a lot of their platforms or have very watered-down graphics. Gameplay is the key, but specs matter to extent.
In terms of Japanese software, a good amount has skipped Nintendo platforms but not as many from what I can tell. The most readily apparent time Japanese publishers and developers were hesitant with a Nintendo home console was the Nintendo 64. The expensive, low-storage cartridges were a real problem. This also deterred a lot of publishers and developers in general.
Some more rambling....
In terms of specs: Wii and Wii U suck, and of course Switch in TV mode sucks too. N64 and GCN had great specs for the most part, but their game mediums were the issue. With the N64 (as I mentioned) it was a gaping wound. With the GCN, people overexaggerate at times the problem with MiniDVDs. The storage on the MIniDVDs (especially if you used 2) was not as severe a disparity compared to PS2 and Xbox when you compare N64's cartridges to CDs. A single N64 cartridge had the potential storage limit of 64 MB. A CD had 650 MB, which is over 10 times higher.
Another problem with Nintendo platforms is online. Wii was the first Nintendo platform to have notable online features (DS got some around the same time), and to this day online quality and features are a massive issue for players on Nintendo hardware.
Nintendo is too far behind in the specs department at this point. Even if Nintendo released a console in the future that was above a PS5 or even more like a PS6, the games would be an issue because Nintendo devs aren't used to having those specs to work with. Therefore, it makes no sense for Nintendo to play catch-up.
Lifetime Sales Predictions
Switch: 161 million (was 73 million, then 96 million, then 113 million, then 125 million, then 144 million, then 151 million, then 156 million)
PS5: 115 million (was 105 million) Xbox Series S/X: 48 million (was 60 million, then 67 million, then 57 million)
PS4: 120 mil (was 100 then 130 million, then 122 million) Xbox One: 51 mil (was 50 then 55 mil)
3DS: 75.5 mil (was 73, then 77 million)
"Let go your earthly tether, enter the void, empty and become wind." - Guru Laghima