Yes. I have the Surface Dock and have had no issues connecting a Surface Pro 3, Surface Pro 4 and a Surface Laptop to it.
If you do buy the Surface Dock, I recommend installing the free Microsoft Surface Dock Updater tool on your Surface Pro. You can use this utility to check the Surface Dock firmware and install firmware updates as they become available from Microsoft.