Yes, you're allowed to disconnect the equipment and replace the cable from the box to the wall.
The cable is "given" to you as part of the installation service, as such it is the only part which you actually own. The cable box, the attenuators, wall inlet thingy and your router all belong to...