Solution 1:

Yes and no. Because of the host-slave relationship USB is built around this requires specific hardware, namely an active cable with electronics. They're cheap enough though, you can get them on Amazon or similar for ~$10 and up.

Just search for "usb bridge cable".