Module federation tooling matured in the recent years. You can just use it™ in Nx. Task orchestration works, caching works, CI works.
A great example is Nx + Vite Module Federation. Thanks @giorgio_boa for collaborating on this. Check out the links in the blog post.