Managing and deploying updates via Configuration Manager
Have you looked at the in-place upgrade option? Look at the supported migration path for OS and SQL as it does involves a couple of hops. The official docs covers the requirements. https://learn.microsoft.com/en-us/mem/configmgr/core/servers/manage/upgrade-on-premises-infrastructure