You have mucus in your intestines too, and this kind of thing happens occasionally. I never really thought about it before, but yes, when my bowels are irritated, I occasionally hock up a butt loogie.
If you're not in pain, and there's no blood, I wouldn't worry about it at this time, but of course I'm not a doctor, etc.