Hi Tomasz, the CM4S is not the same as the CM4 so I don't think it will fit. However, I can not give you an exact statement here. In the datasheet of the RevPi Connect S the processor BCM2711 is used. But in the form factor of the CM3.
I've did a quick test if this could fit mechanically and I guess with some Kapton tape covering the screw terminals underneath the adapter this MIGHT work. No idea about the IO pins nor is this anything we will ever support officially.
Resizer_16797293919791.jpeg (853.14 KiB) Viewed 1428 times