Yes, it could be just poop.
It could also be expelling the zooxanthellae inside of it. Keep an eye out for any sign of bleaching.
It could also be brown jelly disease. Is it coming from it's mouth? If it is, then what's happening is 1 of the 2 things listed above.
If it's covering the coral like algae, then it's most likely brown jelly disease.