It is an interesting question if there's a good way to produce a legal vehicle to apply import/export restrictions to software, but this definitely isn't it.
TikTok's popularity, while in part fueled by the algorithm, is largely a matter of network effect. Sure, a small portion of the users may "stick it to the man" and go through the trouble of working around the ban, but it won't be anything close to a majority of the 150+ million users they currently have in the US.
This is all also somewhat beside the point -- the bill in question here isn't bad because it bans TikTok; it's bad because it hands almost unfettered Internet censorship power to the executive branch and provides stiff penalties for workarounds such as VPN use to circumvent blocks. Which is why it's been called by some the USA PATRIOT Act 2.0.
Huawei/ZTE has been banned from sale and thus import and I effectively view this as equivalent and likely permissible under law in any case - so it’s probably the case they can just ban it from App stores though not actually block it on the internet - which I would frankly find acceptable (admittedly, it would likely be a death knell)
I don’t want to live in a populist/nationalist world, but a little bit of reciprocity, through protectionism, in small doses, isn’t a terrible thing.