Yes, you can do it with Virtual Switch and simple automation In order to create a virtual Switch please use Vdevice Creator by @ygerlovin