No.
Heresies, yes
“Doctrines are created on the basis of popularity?”
Sure they are, and if you think that they aren’t, then I think you maybe need to go back and review the history a bit more.