Yes there is DNA in your poop.
I read online a few years ago that someone had broken into a persons house and had pooped in their toilet and forgot to flush the poop down the toilet.
The detectives took a sample of the persons poop and then linked the DNA in the poop to the person who broke into the house.
The person who broken into the house and pooped in the toilet was found soon after because his DNA linked him to police records where he had been arrested before.
The guy was also wanted for other crimes.
So yes your poop contains DNA that can be linked back to you.