Multi-Project Multi-Page setup


I’m looking at hosting several dashboards with multi-page layouts.
Was looking at the URL support
My idea was to have an URL layout like /project/dashboard1, /project/dashboard2 …
From a FS point of view, the .py files should follow a name convention like for example.
Now looking at the example, I would have to import each file, and also create each pathname check individually.
Would there be a way to have them create dynamically from the files available, and create the pathnames automatically?
Has anyone already done a multi-project multi-page setup and can share some details?