Wait a second. Can genetic programming be applyed to miners

I'm learning that stuff for-fun but i do not know how to apply that to that networks becouse i do not know how this works.
i mean : genetic algorithms need to be trained and that means it needs a X ammount of stuff and Plenty of time , and i bet that bitcoin network got a counter for it , changing the "difficulty" every X time i suppose.
Any clue? Becouse if it works (doubt it coz it would screw the network) a guy can decode blocks with no-hardware usage (since the hardware husage come out becouse you are brute-forcing)