This blog post https://stackoverflow.blog/2020/04/20/brush-up-your-cobol-why-is-a-60-year-old-language-suddenly-in-demand/?cb=1 says
"You can’t write a compiler or a kernel module in COBOL"
I'm not a fan of COBOL and I'm not suggesting it would be a good idea but as COBOL is turing-complete then my understanding is that you should be able to write in it any program that any other turing-complete language can write. Which means it should in theory be possible to write a compiler in COBOL, no?
Perhaps the author is just short-cutting saying it's not usual or a good idea to write a compiler in COBOL but it got me wondering.