Bytedance has an isolated version called Douyin.
I believe if FB or Twitter created specific versions that comply with China’s laws, they would be allowed.