Yes this happens with carbon and steel, and I'm sure it happens with alum as well, since Al is electrically conductive. The solution that the designer of the carbon boat I'm getting came up with, was to lay a small strip of glass over the place where the metal mounts to the mast/beam/hull. It provides a non-conductive buffer that isolates the electrolysis.