Most bristle worms are scavengers, there are a few species, such as the bright red fire worm, that are believed to eat polyps, clams etc. Bristle worms are opportunistic feeders, if they can catch it they will eat it. IMO if you see them in your clam, i would have to believe the clam was already sick and the worm smelled a free meal.