Yes, you can swim with a tampon in. Tampons are designed to be worn during physical activities such as swimming, and they should not prevent you from enjoying the water.