This runs into the "overqualified" problem, though. If you haven't been a programmer for a while, you probably can't be hired as a particularly senior programmer just based on programming skills, but companies also aren't willing to hire you as a junior programmer if you have 10 years of managerial experience, because you're too senior for that. Even if you really genuinely are fine with an entry-level position, most companies won't be willing to hire you into one.
Basically it's really hard to fake being a 25-year-old, even if you are 100% as qualified as a 25-year-old for a job (or even more qualified) and aren't asking for any more money than they are, because companies view the 25-year-old and the 55-year-old as fundamentally different when evaluating hires.