There is an option in (settings > system > advanced > *developer options) called “Automatic system updates : apply updates when device starts”
Whether that alone will save you, I’d don’t know.
- If you can’t see developer options, goto settings > about phone and tap build number 5 times?