It is now possible via netsh. Starting with 2023-09 Cumulative Update for Windows 11, version 22H2. See this link.