You can connect Bluetooth headphones to your Nintendo Switch through the System Settings menu, or with a Bluetooth adapter.
You can connect AirPods to your Nintendo Switch using a Bluetooth dongle, which plugs directly into the Switch.
These days, most tech that produces any kind of audio will work seamlessly with Bluetooth headphones, like AirPods. My computer, my phone, and even my Nintendo Switch all support relatively seamless ...