It's obviously more than just dish size and bolting on a new receiver
as, for example, the 32 m Cheia antennas cannot receive X-Band, but
the 32 m GHY-6 at Goonhilly can. What are some details to consider?
The limiting factor when uprating a parabolic reflector antenna to a higher frequency is usually the surface roughness/shape error. Basically, the antenna shape needs to look like a very good approximation of a paraboloid. Deviations from this shape result in losses which can be estimated using Ruze's equation:
$$G(\epsilon) = G_0 e^{-(\frac{4\pi \epsilon}{\lambda})^2} $$
Where $G_0$ is the gain of an idealized parabolic antenna, $\epsilon$ is the RMS deviation from the ideal shape, and $\lambda$ is the wavelength. As the frequency goes up, the wavelength $\lambda$ goes down, which means that for a given $\epsilon$, you get more loss as the frequency goes up.
Since an antenna is usually designed with a specified range of operating frequencies in mind, the requirement for $\epsilon$ will only be set as stringent as it needs to be for the highest design frequency. It takes a lot of work to make a dish uniformly parabolic, so generally an antenna engineer is not going to go out of their way to make it more uniform than neccessary.
That's not to say that a particular antenna won't be designed for a better (lower) $\epsilon$ than required. For example, an operator might choose to build an antenna for S-band tracking, but spec the dish to operate all the way up through X-band. They'll only install an S-band feed at first, but they're leaving their options open to add an X-band feed at a later date if needed. In this example, it becomes cheaper to plan to upgrade an S-band antenna to add X-band support rather than building a whole new antenna - but, this option would usually have to be planned for when building the original dish.
Another limiting factor can be construction of the reflector itself. If you were around in 90s, you probably remember these old wire mesh C-band satellite TV dishes:
(Image taken from here).
This type of lightweight, low-cost construction is very common for these C-band dishes that need to have large apertures yet also need to be affordable and installable by consumers. The wire mesh looks like a reflective surface at C-band, but if you go up in frequency, you'll quickly find that it becomes less and less reflective as the spacing between the wires becomes a larger fraction of a wavelength. So, this also limits how high you can go in frequency.
Finally, while it's typically not nearly as large of an effect, the dielectric surface of the antenna can play a role at higher frequencies. Large antennas are rarely bare metal, they're usually painted or covered in some sort of material to protect them from the elements. The choice of this material can introduce losses at higher frequencies, although for most practical satellite frequencies (especially those used for deep space) the loss is relatively minor.
However, if you have a large antenna with acceptable surface roughness, acceptable construction, and a compatible dielectric - yes, you can absolutely uprate it. Typically, this would involve replacing or modifying the antenna feed, which is the little cylindrical thing mounted at the dish focus (ie: where the arms on the front of the dish meet). Some feeds on very large antennas are mounted in the dish itself, with a subreflector mounted at the focus, but the principle is the same. The feed usually contains a low-noise receiver and downconverter on the downlink side and an upconverter and high power amplifier on the transmit side.
The up/downconverters in the feed convert the transmitted and received frequencies to a common intermediate frequency, usually 70 MHz or 140 MHz for low bandwidth systems or 950-1450 MHz for high bandwidth systems. All the radio equipment (modems, processors, etc) at the ground station are designed to operate at this intermediate frequency, so usually there's no additional work required beyond the feed change. Most space missions use communications standards published by the Consultative Committee for Space Data Systems (CCSDS), so provided that the ground station equipment is compliant to the appropriate CCSDS standards, there's usually no additional hardware required. Additional hardware may be required however if the mission uses a particularly newfangled standard (such as enhanced modulation or forward error correction), or if it uses something custom.