My passport is about to expire and I will apply for a new one prior to my trip to China. Can I already apply for my visa?

No, for the validity of your visa it is important that the details on your visa match the details on the passport you are traveling with. You must therefore have your new passport information before you apply for your visa.