Certainly, people feel pleasure with the things that can hurt them, it happens in a loving relationship and it happens in many situations of our life
I know of a case of a man who is addicted to smoking, had an aneurysm and was forbidden to drink liquor and smoke cigarettes for life, he literally did it for 3 months, after that time he started drinking and smoking, more and more Frequently, and, today, smokes up to 2 boxes of cigarettes a day, this is a clear example of how people feel pleasure with the things that can harm them.