Deploying multiply Pages under one domain?

Say I have two separate static site projects, and I’d like to deploy them under the same domain but different paths (for example https://sample.domain/project_a and https://sample.domain/project_b).
Is it possible?

Yes but only with a Worker above. You cannot deploy them like that natively with Pages.

Hmm.
One way I can think of is to instead use GitHub actions to build each repo individually and push the built files into a central repo that hosts only built files together, and link that to Cloudflare Pages instead.
It would be nice if Cloudflare can support this natively.