yes hap ac2 has to physical wifi interfaces, and what you want to achieve can be configured quite easily.
lan dhcp on wlan2 5Ghz interface, wan on wlan1 2Ghz
You can use priority routing using the Distance value so when you plug the cable you can use that one as wan instead of wlan1 2Ghz