Yes it is naughty. Very naughty baby. Also it is fun.
Within limits it is acceptable. Don't do it in a crowded lift where people can't move away from you. Otherwise , I am free to poop my diaper, and others are free to hold their nose, make fun of me or move away in disgust.