DVC pipeline with git submodule dependency

Is it possible to use DVC pipelines with git submodules? I would like to have a main repository with my codebase and use DVC to track artifacts. Then I would also like to have a git submodule with a separate DVC repo to track my data. This works until I try and create stages in a pipeline that depend on the data subdirectory. The reason for this is so that I can deploy the main codebase with model and artifacts to end-devices without pulling the data as well.