Matthew is right. A few coal miners can learn to code, but not before going back to school at the graduate or post graduate level. The large majority of those living in mining country are poor, have a not up-to-date high school education or less, lack the money and accessibility of a good college, and are no longer young. Furthermore, the field is highly competitive. Companies hire only the most talented people. Moreover, there is likely to be a huge cultural barrier. People age 40 and up, used to living in a small town, very conservative, are not going to fit into the GenX and Millennial culture prevalent in major cities and their outlying suburbs. Coal miners, unless young, single, and adventurous, tend to be tied to the land and their generations of family before them.
I'm not saying coal miners are stupid. They aren't! They posses a grit, toughness, tenacity, and lots of common sense---the latter absent from the corporate environment. There are different types of intelligences, not just academic book-learning.
The entire idea is as ludicrous as in 2016 when Hillary brought her campaign entourage to Williamson, West Virginia "the anthracite capital of the U.S.A.," home to the "anthracite mansion!" (Yes, it's really called Williamson!) Those who came to her campaign were there to heckle her out of town, something they accomplished very quickly!
Had Trump lost the election however, I can guarantee the mountain people wouldn't have tearfully run amok through the streets screaming, "Not my president!" and, "Hey! Hey! Ho! Ho! Donald Trump has got to go!" Instead, they'd be rallying their forces, preparing to fight.