No, you don't have to use L3 for VLANs in the real world or GNS3. You can make VLANs with L2 switches too. So, you can create VLANs with L2 switches too. If you want PCs in different groups to talk to each other, use L3.