If you’re building an advanced PWA, you’re probably capable of building your own API. If we’re talking about presentation websites, then a lot of content is static and we can do away with static generation or at least advanced caching. Depends on the situation, there’s many ways to approach a headless CMS.