Now you can force the SMB compression windows Win11 and windows server2022 and the best practice with it, please check these links
smb-compression and how-enable-smb-compression-expedite-file-transfers
And you can use GS RichCopy 360 which I use recently, it supports SMB compression for windows 11 and windows server 2022, it can run as a service, can sync automatically, schedule tasks and many other features.