Nah it didn’t look like planariaAre these planaria? of so, most fish wont eat them. They look like tiny white or gray specs crawling over everything. Most other worms and nematodes will be eaten. Planaria can be eliminated by vacuuming everything out of the gravel and making sure no meat of any kind gets into the gravel. You can also put some beef hear or something else in the tank, allowing the planaria to congregate on it and then you can yank them out. The best way is to keep uneaten meat out of the tank.