Not really. If you full-screen an app on the other display, the dock won't move - or if you position the dock on the left or right side of your primary display, it won't move.
The other option is to go back to the Lion/ML multi-display behavior, System Preferences > Mission Control > uncheck Displays have separate Spaces