Short answer, not easily.
Long answer, not as a direct drop in replacement. The 165/182 cranes used a different circuit and mechanism from the gantry cranes (282, et all.).
If you wanted to, I am sure you could rewire a 165C controller to work with a gantry crane, but it is not as simple as splicing the cables (I believe the gantry crane has one less solenoid and, therefore, one less wire and a simpler controller.).
Regards,