I don’t feel that macOS not shipping with a particular feature can fairly be called an Apple-imposed restriction, especially if you can get that feature from third-party software.
There are plenty of things that you can’t do out-of-the-box on Windows but can on macOS, like SSH into remote machines.