Can you replace an 3 phase solid state relay with a contactor on a 3 phase heater?

Not without other modifications. The circuits used to turn the solid state relay on will not be suitable for turning a contactor on.