Can you set up Plex server entirely remotely on a NAS?

When setting up remotely, you must use SSH tunnel
https://support.plex.tv/articles/200288586-installation/

Scroll down to On a Different Network