I think you can.
https://www.centroidcnc.com/fanuc_retrofit.html

Or better replace electronics.
https://cnc-electronics.com/cats/fan...-system-16-18/