How would that work? Even half of a 22.2 - 31.8 shim will not fit into the 25,4mm clamp of the stem. It still has 31.8mm diameter. And even if it would fit, it does not magically wrap around the handlebar, so it would not make contact all around.
Or was this a purely mathematical question if...