yes, its possible with CLI
interface GigabitEthernet1/VlanX
up
ip address xxxxx (or dhcp)
ip global auto
exit
interface GigabitEthernet1/VlanY
up
ip address xxxxx
ip global auto
exit
system configuration save
example for wan port for some model, if wan port in switch other command