yes, you can use this as the switch.
Enable bridge,
From config t mode:
bridge irb
bridge 1 protocol ieee
bridge 1 route ip
Go to the interfaces like
int fast 3
bridge-group 1
So which ever interfaces you want to use as the part of the same lan, make it part of that bridge group by going to the interface mode and type " bridge-group 1"