No, this is guest OS specific and has to be done on that level. Just use any off-the-shelf software to do this or even the os-built-in software like (unattended for Debian-bases systems).
Again, this is OS-specific and as already mentioned, Debian-based system work very well with unattended.
For Oracle Linux you can use fleet patching with enterprise mananger, RHEL has its cockpit stuff, SuSE has also some thing I forgot the name, Windows Enterprise has also its automatic stuff.... You can also automate everything with ansible, puppet ....