A family of Microsoft on-premises document management and storage systems.
For SharePoint Server 2016: No. An in-place upgrade of the Windows Server operating system on a server that has SharePoint Server 2010 or later installed is not supported. The supported approach is to:
- Create a new server with the target Windows Server version.
- Join the new server to the SharePoint farm.
- Move services as needed.
- If Search is used, remove the search component from the old server.
- Decommission the old server.
For SQL Server 2017 hosting SharePoint databases: the provided material does not document whether an in-place Windows OS upgrade is supported for that SQL Server server.
Also, for SharePoint Server 2016, the documented supported Windows Server versions include:
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
References: