Pothos sap is toxic to humans and animals. Roots growing in the filter chamber away from fish would likely be safe, perhaps, but once the roots or stems are in the tank there is a risk the sap could enter the water if the stem/root is opened. The following [from
https://smartgardenguide.com/are-pothos-poisonous/] is just one of several near-identical warnings online. I would not subject my fish to this torture.
Are Pothos poisonous? Yes, Pothos plants are poisonous if ingested and can be irritant to the skin if touched. They are not known to be fatal, but they will cause irritation to your lips and tongue, and they can make you vomit. Make sure to keep the plant away from cats, dogs, and children.
The thing that makes Pothos plants poisonous is the insoluble calcium oxalate crystals contained within their leaves and stems. These crystals resemble small glass shards that will physically pierce and cause localized irritation to the skin when touched, or the mouth and digestive tract when chewed or swallowed.
In very rare cases, ingestion of part of a Pothos plant can also cause swelling of the upper airway, making it difficult to breathe.
All parts of this plant are toxic if ingested, so be very careful and make sure to keep it away from pets and children.