Did wastewater drug monitoring for a while, and the annoying bit was fentanyl metabolites sitting near the detection limit, so absence isn't proof.
There isn't anything to measure if the poop is unable to leave the end-user.
Either way, the constipation would affect different users at different times, so I don't think it would matter to the data. In other words, your idea stinks ;)