No, Kishimoto didn't have any part in writing Doflamingo. Doflamingo was created by One Piece author Eiichiro Oda, and there is no evidence at all to suggest the involvement of Masashi Kishimoto in his creation.