For future reference, here is the reply from Apple to my enhancement request:
Create a com.apple.vpn.managed profile payload with VPNSubType set to your app’s bundle identifier and ProviderType set to app-proxy in the VPN dictionary. Please see https://developer.apple.com/documentation/devicemanagement/vpn?language=objc for details.
Topic:
App & System Services
SubTopic:
Networking
Tags: