Yes, except the amount of quinine required to equal the strength of the prescription drug would be .... a lot.
But if you mix it with alcohol it might produce a synergistic response.