It would, as despite the formalities Beijing is well aware that it is de facto considered a separate country with de jure security agreements with other powers protecting its independence.
Moreover, it's irrelevant since the PRC is neither planning to conquer Taiwan nor do they have the material capacity to do so, so your assertion that Russia being punished for being shitheads regarding Ukraine is somehow going to push China closer to Russia remains ridiculous copium.
The only thing China is going to offer you is a shackle through which they'll bleed you dry.