You might find this project interesting OP. The aim is to create a self-hosting CIL JIT/AOT for the purposes of an operating system. Ultimately you'd have an OS written in 100% C#.
It has got a good few years of history and a lone brave contributor who I'm sure would welcome some help with open arms.
I thought about doing something similar in university. But I used LLVM as the compiler backend: https://github.com/lostmsu/CodeBlock
Written in F# of course.
The big question, for me at least, is can this be used to containerize a .NET application without having to package a full Windows OS into the container?
Definitely useful for research. "What if the .NET CLR could do X" can be answered more quickly with code like this. I wonder if this could support something like runtime macros. Maybe you can do that anyway using Roslyn.
Just use Java and get over it.
... so it's like running Wine on Windows NT 4.0?