For sure. Shit I've been on medications that made me hungry all the time. They tell you the meds can make you gain weight, but they don't by themselves. They can absolutely make you hungrier, more tired, etc. They can cause issues that make weight gain more likely. But they can't do magic. Calories still apply.