Well, I don't think so mainly because there are so many other factors that come into account with a brain. I mean, we don't really understand exactly what consciousness is, but it's a definite possibility it isn't just one "localized" part of the brain, but it is a series of parts. So transferring the part of the brain electronically that's consciousness might not be possible.
If you created a self learning AI with virtual shackles, would you allow it to learn from the internet?