I didn't know that was a Kodi feature. It's actually enough for me to consider migrating away from my Plex setup, or at least running them in parallel.
It might be a feature by accident. All documentation about this is about it's use for local media but it works for Youtube. You need the Youtube addon, and the .strm file contents should refer to the plugin with the video id.