is this a limitation, or is there a way to do it?
Cryptomatte does support transparent shader.
Glass shader is not transparent.
do there is no way to mask any glass material and preserve the transparency
Not to my knowledge. But what are you trying to do? maybe there is another way.