Yes, there is such a cable. It’s called a back-to-back cable. The best place to look is probably eBay.
Something like this:
is probably what you need, but be sure to verify what type of physical connectors you need on each end before buying.
Search for ‘cisco serial cable back’.