I can provide a short answer. Pope Clement VIII, who ruled from 1592 to 1602, really hated coffee due to its popularity among the Muslims, and as such, told many priests at the time to denounce it. He furthermore hated it because it was being used as a substitute for wine in lots of places, and wine holds a ceremonially holy position in the religion (it's the blood of christ).
In the year 1600, however, the pope tasted the drink and declared, "This devil's drink is so delicious...we should cheat the devil by baptizing it!" At which point, it no longer was taboo.
There are some conflicts among historians about what the punishment for drinking it was- mortal sin, venial sin? To the best extend of my knowledge, it was not, but greatly decried by the church.
Source: Fragnito, Gigliota. Adrian Belton (trans.). 2001. Church, Censorship and Culture in Early Modern Italy. Cambridge University Press
In my opinion, however, a FAR more interesting story is how coffee got to the Americas. In the 1600s, coffee farms were nominally controlled by wealthy aristocrats in Europe simply because it was so dang expensive and you could make a LOT of money off of it. A man, Gabriel de Clieu, was a French merchant who quite literally stole coffee seedlings from the royal botanical gardens in Paris, and journeyed to Martinique with them. The journey was harsh, and they got caught in poor winds that increased their journey length. Gabriel showed remarkable courage and rationed their depleting water supply to keep the plants alive. Eventually he landed in Martinique and began growing the coffee in 1720, and the coffee plant spread like wildfire in the new world...
This man's interesting life didn't stop there, however. From 1737 to 1752 he was the governor of Guadeloup (another Caribbean French Island), and was awarded the Royal and Military Order of St.Louis for bravery against a native attack.
Reply for any coffee related questions.
Source: Michel Claude Guibert, Mémoires pour servir à l'histoire de la ville de Dieppe, 1878
Henri Welter, Essai sur l'histoire du café, Paris, 1868
Can you clarify when you mean? Drugs from caffeine to heroin have been linked to deviant behaviors by a variety of interests throughout modern history, usually by people opposed to their use for whatever reason. Knowing the era will help answer your question. Thanks!
According to the PBS documentary Black Coffee, which you can watch for free on Youtube, coffee was associated with promiscuity during the 18th and 19th century because coffee houses were sometimes attached to or doubled as whore houses. As in, it caused promiscuity because people drinking it were usually there for the prostitutes and the coffee was just a bonus.