I believe they can apply to harvest experience at the farms. They can still fight, just not as well as the soldier caste. Or rather, the typical carver caste ant isn't as well equiped for combat as say a scout would be. They still learn spells that they can use against others in a fight.