When I said "simultaneous" I mean to apply it to a government, not a particular program.
In any case though, any government program that gives equal resources to everyone and isn't means-tested to hell can do both. For example, an UBI both mitigates luck (by giving everyone a set amount of resources) and rewards hard work (because better workers will get far better returns with the income they've been given).
But I'm talking about a program that mitigates the effects of luck while (in the same program, with the same methods) rewarding effort.
They're mostly opposite effects and there's no way to reliably distinguish hard work from luck. That's why there's so much debate on the subject.