In general, yes this will work, assuming that the versions line up with our tentacle compatibility matrix here: Compatibility - Octopus Deploy
This will work normally for both instances, and shouldn’t require any further configuration more than what’s shown in the documentation you linked above.
I hope this helps, and please let us know if you have any further questions!