If that's indeed the question, the simplest answer is that if reality is fundamentally material, then by extension everything must be material, including consciousness. For reasons already stated (the mind-body problem, the hard problem, etc), the emergence of experiential consciousness as we know it from inert matter is opaque. We don't have a shred of evidence to support it, nor the sliver of a clue to go on.
Conversely, if reality is taken to be fundamentally consciousness, then everything is consciousness. Everything becomes a "figment". There's nothing actually "physical". This is conceivable in theory. One obvious example are our dreams where a reality is projected and interacted with by consciousness. This position isn't subject to the hard problem since everything in reality is all just one thing, consciousness.
Panpsychism and other dualisms just postpone the problems of materialism. But they resurface later, in addition to the new problem that this position requires to be granted at least two fundamental magic tricks to explain the rest.