Yes, but you must make sure the VPN allows local network access, or else your printer won’t be reachable over the network.