Leaving poop on someone's doorstep without their consent is generally considered illegal and can lead to legal consequences, including charges related to trespassing and vandalism.