cacoethes kak-oh-wee-theez

An irresistible urge or desire to do something that is particularly inadvisable, even harmful.

The desired act can be anything, from bad habits (e.g., smoking, drinking) to social behavior (e.g., speaking out of turn, fiddling with a phone), and more.