Can I go back to China to write my doctoral thesis in Korea?

writing back to China will definitely not work.

if you are very, very good, and have advanced articles on Nature and Science or divine patents, you can immediately become an associate professor when you return to China, and be promoted to a professor after 2-3 years. If there are no outstanding conditions, it will definitely not work. It is very difficult to judge professors now. Good wishes!