Not really practical, the best approach is to fill the scratches with resin.
I have found one way to conceal, not repair, scratches on dark formica is to brush the scratches with boot polish and leave for a few hours, then polish off. I then put a small amount of oil on it to bring back the shine.