Yes. A humanitarian crisis next door is never good for any country.
Also, a DW video saying today that Russia, China, Pakistan and even USAID is helping. China's train route is very long. Pakistan is the ideal country to help and I believe, in time foreign help in big numbers will go to Afghanistan and Pakistan will be the main conduit fort that. Not only would that be good for Afghans but also good for Pakistan.
Also, someone correctly said above: Pakistanis are naturally very charitable people and can raise tons for Afghanistan if a call is given. I don't think Pakistanis will starve by helping Afghans through Pakistan's and foreign resources.