Hi Alex,
No that will not work.
You can install mojoPortal as a root site and run it as a root site or you can install it as an app in sub directory and run it from the sub directory but you cannot install it in the root and make it pretend to be running in a sub directory.
Best,
Joe