If the FM analog radio is replaced with a digital FM radio and the gateway config file is updated, when Tesla pushes a firmware update, is it over written and the FM stops working?
It shouldn't. The config file tells the system what components are installed and needs updated. So an update shouldn't overwrite it.