Yes, I've done something similar recently also using netcat.
Bonus points: You only need netcat at one of the computers. On the other computer, you can just use bash
special filename /dev/tcp/host/port
in a file redirection. So:
tar c sourcedir | nc -l -N -p 1234
tar x < /dev/tcp/10.1.2.3/1234