Could the external and internal interface of upnp be setted on vlan interface?

Could the external and internal interface of upnp be setted on vlan interface?

I don’t see why not, as long as these vlans are connected to WAN and LAN.