Yes, caffeine can irritate hemorrhoids as it dehydrates you and makes constipation worse, further aggravating your hemorrhoid symptoms.