I would think so. Its a localized infection, not systemic, and the bird is healthy enough to be spurring you, so it can't be too sick.
And, I assume you would fully cook it to an internal thigh temperature of 180 as per current food safety guidelines, so no bacteria could possibly survive...