Yes, but it will pay 1/5 of what you can make expending the same effort learning python and doing “machine learning” for a web startup.
On the other hand, your COBOL job will last a long time. And you won't be talked into taking a shitty salary with the promise of big payout that doesn't happen.
You might also need to build a time machine to go back to the 1960s