You raised a really important point here. I also think it's unsafe to gain or loss weight by being dependent on drugs or some weight loss or weight gain supplement.
I try to stay away from gaining weight and I work on that each day. However, I don't ever take any drug for that reason.