With modifications, yes but by the time the TS1400 engine is ready to be used on the T129, 30 Z-10ME's could've already entered service with Pakistan.Depends on how long they want to wait. Worst case, they could wait for that indigenous Turkish turboshaft to qualify for the T129 (I think it's suitable for the T129, right?)
As of the latest news, no order has been given to work on a attack helicopter variant of the TS1400 engine.
Z-10ME has all the things PAF needs so if I were them, I wouldn't wait for the T129.
But time will tell.