Yes, you can run SQL Server on both Windows client (which includes Windows 11 and its predecessor) and Windows Server operating systems. However, SQL Server 2016 and older versions are not ...
To use SQL Server connections in Power Apps ... would you want this procedure to run within a gallery? Probably not. Unless of course you wanted to audit users accessing data.