You have 2 options:
1. Use android on the switch and download the game pass app.
2. Use moonlight to stream your desktop and stream Xbox from there. Can't tell about game pass but streaming my xbox one to pc to switch worked surprisingly well. (Xbox and pc are both wired connected.)