Depends on how & why they were avoided. Is the Chinese government in a stronger position & the European powers in a weaker one? Have the European powers achieved total dominance over China w/o going to war?
If the Opium Wars don't happen because Britain is busy elsewhere, it only delays the inevitable. China will not reform without a reason to, and when the Europeans (or the Americans, or the Japanese) come, it will be that much worse.