You can actually disable most features of the Linux kernel, including multi-user support (everything will run as root). The end result is a stripped down kernel fit for only running your single desired application.

    gmake tinyconfig all
The result of that probably won't boot your friendly neighbourhood desktop distro.