My analogy probably isn’t perfect but isn’t this how an abacus or a slide rule works? You expend energy to set the values for computation but the act of computing and then reading them expends no energy.
Suppose you put the abacus sideways, such that setting a bead requires working against gravity, but then returning the bead to the original position gives you that energy back?