Can we use MAYDAY or PAN PAN on ground?
Yes, it is correct to use MAYDAY or PAN PAN PAN on the ground. 

In recurrent training we are often reminded that in the case of a rejected takeoff in a foreign country it is important to use MAYDAY or PAN PAN PAN on the ground to avoid any confusion due to language difficulties. 

It's probably a good idea at any airport as a disabled aircraft on a busy runway could be a major hazard to other aircraft landing and taking off.