Just google "michael phelps" and "abs" and you'll see that it's possible.
Building muscle takes resistance. When you swim, the water provides that resistance. If you're willing to settle for less than olympic abs (and don't have time for 6 hour workout
sessions), join a local water aerobics or fitness group. Good luck!