This is where some knowledge of botany is useful. Mint spreads by underground stems (rhizomes), not roots. Because they are stems it is important that they remain close to the surface, so, yes, such a practice would work for them. It would only work for comfrey if the pipes go below their normal root run.