they all overclock differently
and 7700k does run a bit warm
so although thats a decent cooler cant say 100% the temps would be fine
though theres a good chance they will
start off with a lower target and see the temps you get and keep working upwards checking temps as you go
no guarantee it will hit 5ghz--though havent seen what % of them do