Thank you!
Great question and perfect analogy.
Yes it's a similar idea, although I do not know for certain if the products used can or would cause any kind of bodily issues, it's a general rule of thumb to flush the roots for at least 7-10 days prior to harvest to remove access build up of potentially harmful substances throughout the plant. The taste is also affected, an unflushed plant may have an unpleasant taste.