We probably are not yet able to tell if we can simulate a brain fully, with something we call a computer nowadays.
If we can, then indeed consciousness comes from the collective function of individual cells. But maybe there's more to the workings of the brain?