Yes, anchor worms can infect other fish in the tank. They spread from fish-to-fish contact, meaning if one betta is infected, the rest will soon be infected as well.