Yes, foreign companies can file a Drug Master File (DMF) directly in China. They must appoint a local agent to handle regulatory communications and submissions. The DMF should comply with Chinese regulations, including providing necessary documentation in Chinese, to facilitate the approval process by the National Medical Products Administration (NMPA).