Electrical stimulation has been used clinically as an adjunct therapy to accelerate the healing of bone defects, and its mechanism requires further investigations. The complexity of the physiological microenvironment makes it challenging to study the effect of electrical signal on cells alone. Therefore, an artificial system mimicking cell microenvironment in vitro was developed to address this issue. In this work, a novel electrical stimulation system was constructed based on polypyrrole nanowires (ppyNWs) with a high aspect ratio. Synthesized ppyNWs formed a conductive network in the composited hydrogel which contained modified gelatin with methacrylate, providing a conductive cell culture matrix for bone marrow mesenchymal stem cells. The dual-network conductive hydrogel had improved mechanical, electrical, and hydrophilic properties. It was able to imitate the three-dimensional structure of the cell microenvironment and allowed adjustable electrical stimulations in the following system. This hydrogel was integrated with cell culture plates, platinum electrodes, copper wires, and external power sources to construct the artificial electrical stimulation system. The optimum voltage of the electrical stimulation system was determined to be 2 V, which exhibited remarkable biocompatibility. Moreover, this system had significant promotion in cell spreading, osteogenic makers, and bone-related gene expression of stem cells. RNA-seq analysis revealed that osteogenesis was correlated to Notch, BMP/Smad, and calcium signal pathways. It was proven that this biomimetic system could regulate the osteogenesis procedure, and it provided further information about how the electrical signal regulates osteogenic differentiations.