Can an Algorithm Ever Replace Human Willpower?

I’ve been mulling over this idea lately: what if we could design a motivation algorithm that nudges us toward our goals the way a good friend might? As an exhibition designer, I love blending structure with creativity, but I’m curious if something so personal as willpower can really be coded. Would it feel supportive, or just end up feeling like another piece of software that glitches when life gets messy? For those into sci-fi or math, does this remind you of any stories or concepts where tech tried to step in for human drive? I’d love to hear your thoughts on whether this could ever work without stripping away what makes us human.