Can modified firmware be used with human patients, or would somebody go to prison or lose his license to practice? Would hackers have to collaborate with a manufacturer before a device goes into certification?
That does not answer your question though. It goes both ways: if the doctor recognises that a firmware tweak may save your life, then she should be able to do so.