No. Hair growth needs living cells burning glucose with oxygen, and that stops within minutes of death.
Transcript
Hair keeps growing after you die. Undertakers hear this constantly, and it's false. Growth needs living cells burning sugar with oxygen, and that stops within minutes. What actually happens is the skin dries and pulls back. Stubble that was hidden under the surface becomes visible, so a face can look like it grew a beard. The hair didn't move. The skin did.
What actually happens is that the skin dries and retracts, so stubble that was already below the surface becomes visible. The face can look like it grew a beard. The hair did not move — the skin did.