Can I go swimming?

Definitely. An ICD isn't an anchor, literally or metaphorically. Just remember that you may feel restricted when extending your arm for a few weeks after surgery. It is still a good idea to swim with a partner, if needed.