Indeed we see this even comes for free with some stacks like Next.js, in which you can define an api (BFF) to interface with the primary backend.
On the surface may sound weird but in practice has actually been pretty great when used mindfully.
I wish Next.js talked about this some more and beefed up their API routes.
Writing your BFF in the same codebase, sharing types, and parsing incoming data on the server without filling up the client bundle is a fab experience.
We use Remix in this way. Making calls to multiple endpoints on link prefetch is fantastic for speed
I've worked in a few orgs where backend devs work on both the standard backend and the BFF, often adjusting both when adding new features. It's just convenient to have a separate layer closer to the frontend, dedicated to it.