SQL Server Transaction Replication on different versions of Windows
You can use SQL Server replication on different Windows versions.  What is more important is the version of SQL Server.

https://blogs.msdn.microsoft.com/repltalk/2016/08/12/suppported-sql-server-versions-in-replication-topology/