I have a friend who wrote an OS kernel in C++:
http://sourceforge.net/projects/ekp/
So it is definitely possible. (Some of the comments above say it is impossible. Wrong.)
You may even want to steal his
bootstrapping and build code, so that you can just dive right in and
start implementing the "fun stuff".