So, it's blatantly obvious that Hong Qi Gong is a copy of Ji Gong. The "Gong" honorific is the same. They're both mendicants. Ji Gong was said to be the earthly reincarnation of the arhat Xiang Long. Hong Qi Gong used Xiang Long Shi Ba Zhang.
Duan Zhixing and Wang Chongyang were historical figures. It's interesting that they were probably the closest to each other in that they traded martial arts. And one became a Buddhist Monk and the other was a Daoist Priest. Historically, Wang Chongyang advocated the internal alchemy (meditation, etc.) of Daoism instead of the outer alchemy (immortality pills, etc.). Which I believe is the historical basis for Jin Yong's creation of WCY's greastest art as being an internal energy art: Xian Tian Gong. I don't know much about Duan Zhixing or his historical life to see any connections between Yi Yang Zhi and himself.
That just leaves Huang Yaoshi and Ouyang Feng. Were they based on anybody in history or in literature?