Will Huawei still have access to TSMC, Samsung fabs etc? I think Hardware should be more of an issue for them than software. Chinese phones already use some alternative to play store iirc.
If one thing the last 50 years has taught us is that whatever the US can do an Asian competitor can do as well.
Generalized, I think it's safe to assume any developed country willing to invest in manufacturing is capable of doing what any other country can do [in manufacturing] as well.