Unfortunately, this is currently not possible to open a local link with a Remote App.
Please submit this via the technical feedback program as a Feature Request at https://feedback.azure.com/d365community.
(If the response was helpful, would you be so kind to accept my response as answer, so that the relevancy of this post will improve when anyone in the community search for similar query.)