Yes, but be very positive that the cables move freely by moving the controls, If they bind in any manner, you can replace just the cables.
Many times these control boxes can be had for a very reasonable prince at swap meets. Cables are available new. You would need to know the length for your specific boat to order the correct length cable(s).