i think what you’re looking for is a microfrontends architecture, where a shell app hosts multiple childs loaded lazily, typically via the router but nothing holds you back to fire the import yourself whenever you like
take a look here for a sample for v1 and v2 Micro frontends with Aurelia - #8 by zewa666