@jjten Somehow I missed your question. Did you manage to solve this?
It should be possible, but you’ll have to rewrite all paths (except index.php) to
index.php/FILE_PATH, even if the file on that path exists*. However, this might affect other parts of your (3rd party) PHP code.
* - usually, rewriting of the FILE_PATH is done only if file does not exist at the specified path.