
to Cable Forum
Yep you can swap them over as they share the same connection. However be careful not to damage the connectors, especially the little thin central bare bit of wire.
In rare cases there might be issues with signal strength that had been adjusted for the STB and modem separately. If you do find yourself getting unexplained connectivity faults, then you'd have to revert to your current layout.