No, the internal addressing of Moodle is absolute, can't be relative.Simplest way, though, open the target course, item, page, whatever, take a copy of the URL of that resource and then paste it in the link dialogue. You can have two or more windows open in your Moodle at the same time, not a prob, just make sure they are all closed when you log out.
General help
Moodle 3.4 Activity or Resource Internal URL
This discussion has been locked so you can no longer reply to it.