If I'm being honest, I don't have any experience with headless Wordpress, but if it's just a matter of swapping the internal site URL (cms.domain.com) with the frontend URL (domain.com), I don't think it would be particularly difficult.
Specifically, the plugin already makes used of a singular...