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.