Domestic patent but no international patent application. Can foreigners apply for the same patent?

It depends on which country. Because the requirements for patent application examination in different countries are not exactly the same.

But generally speaking. Once the patent applied in China is published or made public, the patent applied abroad lacks novelty and cannot be authorized. Unless the applicant has the priority of China patent application and within the priority period.