That can happen. Parasites which feed on other parasites are called epiparasites or hyperparasites. Examples for that are Ichneumon flies like
Pachyneuron minutissimum. Sometimes certain developmental stages of trematodes can feed on other trematode life stages.