[HA virtual machine] Possible to set up a WiFi hotspot to directly connect WiFi devices?

I am migrating my HA VM to a new Server that has a unused WiFi controller. I wonder if it is possible to configure a access point on HA to move all of my smart devices to a separate Wifi network on a different channel.
This would mean that HA has a virtual Ethernet connection for Internet access and remote control and an additional (real) WiFi controller (via pci-pass through).