Technically UEFI provides a lot of functionality which is part of the groundwork of an operating system, such as a file system. In a way, it is a shame that everything gets discarded and reimplemented by the operating system in the process of booting.
I am wondering how much of a functional operating system would it to implement it as a simple a UEFI application. I am thinking of a graphical user interface and multitasking. Using FAT32 as a file system, UEFI should do well for a lot of purposes and so should identity mapped memory. It would make a very lean and simple operating system, probably even without the need for installation.
The question is where would the limits be of what is feasible to provide in terms of functionality of a full fledged operating system? Any suggestions?