I don't understand the question about happiness, but I'm quite sure that consciousness is emergent phenomena (illusion mainly) of the various physical brain subsystems. AI, or rather these physical brain components are almost certainly emulatable in a computing device (to be read as, I estimate a high probability). How efficiently is the only remaining question.
Also, the way this is implemented in the brain is probably far from the most efficient way.