House, an experimental Haskell operating system is exactly that. If I had a lot of time on my hands I would love to revive that project.
<a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;House_(operating_system)" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;House_(operating_system)</a>