Consciousness and self-awareness is governed in humans by neuronal networks. It can therefore be done using artificial networks - silica, or whatever. I'm no expert on electronics, but I am a neuroscientist, and it can definitely be achieved.