Yes, if taken in excess amounts or taken even when you don’t need them, consumption of sleeping pills can make you habitual to them which can be harmful to your health.