Using NAS and local directory in the same dvc project

Hello! We have an use case where we have a local ubuntu server connected to a large NAS.

Our objective is to train a Machine Learning model using data that is stored in the NAS, but save the trained model into the local filesystem, as then we need to bake it into Docker files.

We would like to use DVC to track the model files/environment variables which are stored locally but also to version the data files that are inside NAS.

Is this possible with a single DVC repository? I tried looking into the shared cache options but didn’t seem to do the trick for this use case.