If you're willing to sacrifice a color just use triangles/prisms the faces could then just be virtually adjacent and still rotate independently
https://excalidraw.com/#json=driyv7dR-eODBzuh_hdrk,93QQvkYae...
https://excalidraw.com/#json=driyv7dR-eODBzuh_hdrk,93QQvkYae...
https://www.rotapanel.com/trivision-mechanism-and-prism-type...