It works, and it looks good, too. VGA signals are just lines and frames, with RGB pixel values stuffed in between horizontal sync pulses, and frames stuffed between vertical sync pulses.
The Raspberry Pi 5 already has composite video out, but now it can do interlaced RGB via DPI for sharper CRT output via SCART ...
Whereas the VGA standard defines the RGB signals along with a VSYNC and HSYNC signal, the Apple version can generate HSYNC, VSYC, but also CSYNC (composite sync). Which sync signal is generated ...