With AnyConnect Client-VPN you can use dynamic split tunnelling where the split is controlled with FQDNs. I think this is what you need.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.