Solution 1:

Installed: yes.

Legal (according to the Apple EULA): No.

Solution 2:

Lifehacker has an article describing how to install Mac OS X in Virtualbox.