Through this shortcut, you will be able to Enable/Disable VPN through one click from the Home Screen. (Link at bottom)
I’m not sure if this has been done earlier, but I’ve had a tough time finding an option to work for my use. I hope this is helpful to someone who needs it. You can club this setup with opening apps under automation to make it easier for you.
I use a vpn connection shortcut with a location based focus automation btw. If I am not at home enable VPN and vice versa. To be sure I’ll get a notification whether I am or not connected to VPN.