Is the habit of taking sleeping pills before bed a good practice?

Is the habit of taking sleeping pills before bed a good practice? You raise the word “Health” and instantly you receive an infinite number of suggestions and advice whether it is relevant or not. But has anyone ever understood the seriousness of being healthy?