Yes, they are both grammatically correct, in some registers of English.
In particular the use of "what" is not generally considered good English in formal or standard English. But is correct in some slang.
The choice of "did" or "had done" may slightly change the meaning, but not the correctness. As there is no reason for the past perfect, the simple past tense is probably better here.
There are layers of irony here. The speaker is telling the footballer "Don't worry" but he means the opposite. As such the formal register of English would be inappropriate. Trying to "correct" the grammar to make it
fit standard English feels wrong
Don't worry, lad. There is nobody who can play football as badly as you played today.
For an English learner. You should not use this kind of irony in most situations. Do you know how the person will feel being mocked ironically in this way? An English learner in this situation should stick to simple encouragement:
Bad luck today. Or: Better luck for the next match.
That, of course, means something completely different.