Yup. Any castle you have that is not critical to troopproduction or defense, should be converted. And try to focus your production inland, so that it frees up the ports for cities. For example, when playing the english, convert every castle in england into a town when you have conquered France. Militias, mercenaries and the late professional troops are more than enough to beat the rebels.