Yes, aloe vera gel is generally safe to use for hemorrhoids. However, it is important to consult with your doctor before using a topical ointment or cream on your anus due to the high concentration of the gel. If you are pregnant or nursing, you should avoid using aloe vera on your penis because it can cause some harmful effects. If you have heart disease, diabetes, certain types of cancer, constipation problems, or an enlarged prostate gland, you should also avoid using aloe vera on the anus to prevent problems from occurring within these organs.