Endogenous bioelectrical patterns are an important regulator of anatomical pattern during embryogenesis, regeneration, and cancer. While there are three known classes of instructive bioelectric patterns: directly encoding, indirectly encoding, and binary trigger, it is not known how these design principles could be exploited by evolution and what their relative advantages might be. To better understand the evolutionary role of bioelectricity in anatomical homeostasis, we developed a neural cellular automaton (NCA). We used evolutionary algorithms to optimize these models to achieve reliable morphogenetic patterns driven by the different ways in which tissues can interpret their bioelectrical pattern for downstream anatomical outcomes. We found that: (1) All three types of bioelectrical codes allow the reaching of target morphologies; (2) Resetting of the bioelectrical pattern and the change in duration of the binary trigger alter morphogenesis; (3) Direct pattern organisms show an emergent robustness to changes in initial anatomical configurations; (4) Indirect pattern organisms show an emergent robustness to bioelectrical perturbation; (5) Direct and indirect pattern organisms show an emergent generalizability competency to new (rotated) bioelectrical patterns; (6) Direct pattern organisms show an emergent repatterning competency in post-developmental-phase. Because our simulation was fundamentally a homeostatic system seeking to achieve specific goals in anatomical state space, we sought to understand the role of anxiolytics that reduced concern over the distance to those goals. We simulated selective serotonin reuptake inhibitors, which diminished ability of artificial embryos to correctly interpret bioelectric patterns due to an altered organismal reward machinery, leading to higher variance of developmental outcomes, global morphological degradation, and induced in some organisms anatomical bistability. These computational findings were validated by data collected from in vivo experiments in SSRI exposure in planarian flatworm regeneration.