China absolutely does have the technology to overtake Taiwan
Has is probably slightly ambitious. China's first EUV machine was completed last year and won't even produce chips until 2028. However once that milestone is passed the trajectory of what logically follows is obvious.