personally i think it is rather abnormal.
poo-poo right in the middle of deep sleep means your bb's intestine is still working vigorously when the internal organs are taking their rest.
i guess your bb is having some viral infection which causes the intestine a bit inflammed.
this kind of 'stomach flu' can last for ~2 weeks, depending on the type of virus and the immunity of your baby ...mouth: