We used Copybara to setup a hub-and-spoke model at Dagster where public-facing repos can live within our larger internal monorepo, and while it worked we had to do a lot of hacky things.
https://dagster.io/blog/monorepos-the-hub-and-spoke-model-an...