You want foamclouds to sprout from wavetops.... it's easiest to just try it. Perhaps you need a total black surface before adding the mask, so (black) surface layer dangling somewhere, add mask as child, perhaps stretch that in Y and use as cloud mask. You should also use the altitude offset method in the clouds, perhaps.
But I don't know if it would work.