ITs open source in the same way OSX and iOS are open source (although more open, i will admit) the core is open, but a very large proportion of the key services are closed and difficult to replace.
Yes, you can get the XNU kernel and many of the frameworks (including the Objective-C 2.0 runtime) from http://opensource.apple.com. Feel free to fork it and let us know how you get on.