That would be an ideal situation. Unfortunately Pakistan can not "afford" it. Pakistan will have to stand on its own legs, before pursuing independent foreign policy. Not attending summit by IK in Malaysia and leaving SMQ alone to defend his statement against Saudi, are such examples.If a war breaks out between India and China, India will be fighting alone on the ground. Yes, a few words of support and ammunition might be sold at extra charge by the so called Indian friends.
On the other hand, China might find help from a country... a lot of help. That country who will help China for sure will also find help on the ground.. if not regular forces, in the form of irregular militias.
India must prepare for a 2.75 front war.
First front China, second one Pakistan, 0.5 Kashmir, 0.25 Afghan Talibs who will not just engage Indian assets in Afghanistan, but will also jump in the fight because they live fighting.