First of all: loyal to the monarch.
From his more than 200 years as a bad guy, we can see that he owes a lot to the emperor. He is still very loyal to the royal family of Li Tang, otherwise he could not have worked so long. Although he finally found an identical body double in Li Xingyun, he still didn't give up Li Xingyun, and Zhong Jun still played a decisive role.
Second: the political environment.
Although the Tang Dynasty was destroyed by Zhu Wen, there are still many people loyal to the Tang Dynasty in the world. For example, Li Keyong of Jin State and Li of Qi State have been using the titles of Tang Dynasty. Bad handsome can win the support of two people, and finally the slogan of killing Zhu Wen to help Tang helped a lot. If he proclaimed himself emperor, many people would oppose him.
Finally: appearance
The reason why the bad handsome looks like a ghost now is related to his taking the elixir. At that time, Li Shimin Taizong's prestige was very high, and he dared not take this medicine for fear of affecting his image as an emperor. Bad handsome men are even less confident to be emperors.
Based on the above three reasons, it is also helpless to support Li Xingyun's proclaimed himself.
The above is purely my personal opinion.