I'll use the example of autopoiesis:
Autopoiesis - Wikipedia
"The connection of autopoiesis to cognition, or if necessary, of living systems to cognition, is an objective assessment ascertainable by observation of a living system.
One question that arises is about the connection between cognition seen in this manner and consciousness. The separation of cognition and consciousness recognizes that the organism may be unaware of the substratum where decisions are made. What is the connection between these realms? Thompson refers to this issue as the "explanatory gap", and one aspect of it is the
hard problem of consciousness, how and why we have
qualia.
[14]
A second question is whether autopoiesis can provide a bridge between these concepts. Thompson discusses this issue from the standpoint of
enactivism. An autopoietic cell actively relates to its environment. Its sensory responses trigger motor behavior governed by autopoiesis, and this behavior (it is claimed) is a simplified version of a nervous system behavior. The further claim is that real-time interactions like this require attention, and an implication of attention is awareness.
[15]"
This is one of the most rigorous attempts to explain the origin of cognition and consciousness via physical processes.
However, if it's true that organic autopoietic cells are conscious then there is no reason that non-organic or synthetic autopoietic cells shouldn't be conscious.