@vishaldharwadkar72 I think you cannot define another root point to render the Frontity app, but you can render those components in the root of any Frontity package.
Regarding the service worker, you should be able to do something like this:
And use the last version of @frontity/core to create a server middleware that serves the sw.js file.