I would say that has the potential to be quite painful depending on how badly broken the skin is. You might have to try it out and let us all know the result.
If you're getting dermo try coconut oil capsules. They work great for me.
Echoing Edward here. My suggestion is don't do it. If you do it, get out and RUN to your nearest shower, take a shower and lotion up as much as you can right afterwards. If you go from having dermo to swimming straight to drying off it will make you wish you had swam in a pool of Vaseline instead. That chlorine really aggravates dermapothy.