It needn't even be chemical; any sort of differential test that proves a deviation from baseline measure and treatment that helps mediate a return to that profile would at least be good science and may good medicine.
Maybe someday we'll have wide access to inexpensive monitoring techniques that could fill this need.