 And ultimately, that type of sedentary pattern can result in enormous amounts of weight gain. Are there effects on appetite of some of these sleep medications? Well, sure. Some medications actually cause people to increase their cravings for carbohydrates. So over time, you slow down all that weight accumulated. Do these medications have a direct effect on thyroid?