Hi RussellMania,
I think so. Even in the case the factory image is altered by a malware infection, you still can download an official firmware image from the manufacturer website.
However, I'm not specialized in Mobile infections, so please take into account I can be wrong about this.
Regards.