It might be a case of a developing hemorrhoid, yes, most probably. However, you haven't mention about blood in your stool. I hope it's just boil, a skin infection. The infected area turns red and a tender lump develops.
Addition. Its not terribly painful. It liiks like a little bump next to my anus. Rarely itches or burns.