What you said about chemical reactions (I think they are actually electrochemical reactions) was an interesting bit. But I didn't think your question was as interesting. I'm wherever my mind is. If you somehow take my brain and mind out of my body, and put it elsewhere, I'm the combination of my new parts, mind+whatever holds my mind (if you say something like that my mind was stored on an infinite space with other minds, then I wouldn't say I'm that infinite space, in that case I would be just my mind). If you take away a part of me, that part is not me, example: If you cut one of my arms off. I'm not the arm, and the arm is not me. While my body is containing my brain/mind, then, I would say I am the whole, I am the combination of every part that composes me, but the individual parts are not me.
Also, I don't think that you could say "I am a chemical reaction" as you need more than just one chemical reaction to have your personality. To attribute the characteristic of the whole, to the parts of the whole,
is a fallacy.
You also said something about recreating a chemical reactions that triggers a personality. I'm not sure of where you were getting at with this 0.0. But I want to say something, just in case is useful for you to know. If I ever recreate the chemical reaction that makes my personality (supposing we need only one reaction), I'm not that chemical reaction, nor is that chemical reaction me. Is just like making a perfect clone of me. I'm not the clone, I am an individual being, that clone, although with the same characteristics I have, is not me per-se.
About the reality=dream idea:
To be honest I don't think I've ever found that idea too interesting. Except maybe for the first time I heard/thought of it, but I think that was a really long time ago. Not because I think is impossible. But because I really don't care. We have this reality, a common reality, even if it is a dream we cannot know and must deal with it. Saying that reality could be a dream is just like saying "- Hey you know, there could be an awesomely advanced alien race just some solar systems away" to which some may respond "-Yeah, I know, very interesting...What about it?". It's a cool idea. But is a very "meh" idea to discuss (at least until we find real verification of the idea).
Also I suppose you already know about this, but Dan made a video about something like this. It's called the
"Simulation Hypothesis". It gets more interesting with the thought that you could have an afterlife with that, and that maybe in the future scientist in our reality may be able to simulate an universe, and that would mean a big deal of possibility that our own universe is a simulation.
Here is the paper if you'd like to read it.