Yeah, Apple intentionally provides no unattended setup. Plus any process trying to control the UI programmatically needs explicit accessibility permissions, which defeats the purpose.
So we just click through like a human would via VNC. Version-specific but works with their security model rather than against it.