Technically yes. Have I ever seen it, I am not sure. One patient had a bad reaction to a set of drugs including cannabis. These were not the class you are describing. The doc added them back one by one until he found the problem. It was not cannabis.
I could bore you with definitions but first year students take pharmacy ( and then you never stop). It is killer what they make you memorize. Anyway the answer is yes it is possible.
Would your prescribing doctor be open to discussion??
Good luck.