Welcome to HealthcareMagic.
Yes.It is probably what you are talking about , Hemorrhoids.
There are also chances that blood might be coming from internal gut areas.
Hemorrhoids can be treated by treating constipation
and then depending on the stage of Hemorrhoids treatment options are available.
I advise you to visit your General Surgeon
and get examined.You should do this as early as possible to rule any other dreadful causes of blood in stool
Hope I answered your question.If you need more information feel free to mail me.