I'd say (or I hope) this is unlikely if you look pass all those shitty Chinkland Uncensored channels and Falungong dipshit outlets.
There's a mantra that drilled into Chinese citizens called 中國人不打中國人 means the Chinese will not fight the Chinese when it comes to this on-going civil war between the two regions.
If China invades Taiwan, the CPC will lose at least 80% of support from the elderly who to this day believes in peaceful reunification. The same elderly who either fought in the wars or are direct descendants of 八路. They will also lose most support from the reunionists on Taiwan's side. That's quite significant damage to their optics. The Taiwanese might go back to executing alleged commies in the streets.
What do you mean they persecuted dissidents? Only the CPC does that!
The CPC shares the KMT's notion of Han-led civic nationalism and the constructed Chinese identity. The two are indistinguishable if you look at social policies and their cults of personality (Mao & Sun). Rather than seeing the CPC as its own entity, I see them as the successor to KMT in China. Both sides are hypocritical as fuck.
The difference is, Taiwan became a democracy after this event and admitted to wrongdoing. The Chinese Mainland to this day persecute political dissidents. This event also made Taiwan one of the freest region for journalism, enabling laughable Florida-man-esq headlines and overt pro-CPC outlets to function. I'd say it was worth it.
The youth on the Mainland's side nowadays are either extreme nationalist ricecels (probably jerking to lolicon while bitching about niggers fucking Asian women right now) or apolitical drones. The CPC will either wait for the elderly to slowly die off for a ground invasion, or try to do some negotiations (again) to no avail. Taiwan will be left in a state of limbo.
Not going to lie, this is a good opportunity for the CPC to do something naughty though.