Accessing a server via a VPN connection

Say I have my NAS with all my films in location A, and my ATV4 in location B. How likely is it that one day the ATV4 could access the NAS via a VPN and stream films from location A to location B (this is a home/holiday home question)?

Could this be what you’re looking for?