No, you can't shower or swim with Airpods. Both AirPods Pro and AirPods (3rd generation) are rated IPX4, which means they are sweat-resistant, and earlier models of Airpods are not water-resistant at all. It's not recommended to shower with any headphones with a rating lower than IPX5.