Charlie does this now and then, and I can almost always bribe him into using the toilet (with the promise of either a video or some candy, depending on the time of day).
I am hopeful that it will become a thing of the past eventually, but for now it's so much better than his earlier troubles that I'm willing to live with it.
Does your potty-trained toddler ever ask to poop in their diaper?