As someone who's been on them at one point, the doctors do know they aren't a magic pill. They also "knew" that everyone was different and getting the proper does often took trial and error.
Which in hindsight, makes sense as they apparently do nothing!