It's a technical limitation why Firefox has to force the restart.
If you're not on Linux (or using a build with auto-updater anyways), then the only way to stop this is to turn off auto-updates.
However, it will still notify of new updates and then you can decide when to do the update:
https://support.mozilla.org/en-US/questions/1448482