This is very possible to do, I am personally doing exactly that on my site.
My site has 4 depth levels including the very very root
Depth level 1: example.com
Depth level 2: example.com/pages/
Depth level 3: example.com/pages/more/
Depth level 4: example.com/pages/more/even-more/
From depth level 2 - 4 I have multiple pages at each level, in other words on depth level 2 I probably have 70% of my websites total 500 odd pages.
My routing looks like this
I added that path and url into the route properties and it generated the code on the right, which basically translates to
"Look for the query parameter pageid
" THEN
"Look for the query parameter pageid_b
" WHICH may or may not be provided THEN
"Look for the query parameter pageid_c
" WHICH may or may not be provided.
So my real website is actually only 1 page called index.php and then a bunch of Query parameters like
Depth 1
Depth 2
Depth 3
This site is not done as an SPA but rather just a database.
I hope this help a little.