I was wondering if a 10 gal aquarium will work as an ant enclosure?

Thanks