yes becase if they did not they would all die out with no eggs becase if a worker ant laid an egg a male would come out go on a mateing flyet and find no mate
it's because, the queen ant is the biggest and can hold the most eggs, so they all breed with her and she lays all the egggs while the other ants care for them