Wouldn't this turn this into a somewhat functionnal muffling device ?
No more than any other compensator.
Now, if you were to accidentally spill some water/glycerin between the two walls, it may absorb some of the heat of the gasses as it boils away. This could have the unintended side effect of reducing the blast sound. But what the hell do I know...