Yeah I did some searching and it does look like that’s what it is. Wow that’s nasty haha. At least it’s not harmful at all.That is a detritus worm. They lurk in the substrate and feed off the detritus. Fish can eat them no problem and be fine because they are not a parasite. To get rid of them try to keep the substrate clean and do partial water changes.