Absolutely. You can certainly enjoy the benefits of compression clothing while swimming. Just keep in mind that chlorine (like chlorinated pools) can cause the breakdown of elastane, so it is recommended that after exercise the garments get rinsed off right away in clean, fresh, water.