Can I use domain mapping with a multisite that is set up with sub-directories

I have installed a fresh multisite but it has defaulted to sub-directory multisite instead of sub-domains.

(Sub-directories — a path-based network in which on-demand sites use paths)

Can I still successfully use domain mapping plugin with a sub-directory multisite or will it only work with a multisite that uses sub-domains?

Thank you