Nintendo is great at using more stylized art direction to make good looking games on limited hardware. It's why games like Wind Waker still look great now, while many other games of that time that aimed for more realistic visuals look dated.
But even taking that into account you can still easily see you are on a console that's like 2 gens behind when you go from playing something on Ps5 to playing on the Switch, specially if in docked mode.
Even in the best case scenario of a game like Luigi's Mansion 3 ,which is still one of the best looking games on the system and tailor made for the hardware ... it's still quite a downgrade compared to something like Rift apart not just in terms of graphics but also scope, image quality and performance.