You can use a turbine to generate electricity, so yes, you are converting potential energy into electrical potential. However, no real mass produced passenger plane today can use that electricity for flight (thrust).
RAT is only used when sh*t hits the fan. Even then, it can help you power some hydraulics / electrical, not “store” energy for further flight.
The OP asked - in a low fuel situation, can the energy spent on a climb get effectively recovered - and the answer is not really. We convert as much as we can into unpowered (low-powered) descent. But once you are at a spot where you make a final decision to land or not, you are by design low and slow - and all that energy you had 15m ago is gone.
If you need to keep flying, those engines need to spool back up. And that takes fuel.
> "no real mass produced passenger plane today can use that electricity for flight (thrust)"
Such aircraft do exist. For example, the Pipistrel Velis Electro trainer. And more recently, the Rhyxeon RX4E became the first electric aircraft to be type-certified for commercial passenger operations.
It's likely that we'll see many more electric fan aircraft in the coming years/decades, whether powered by batteries and/or hydrogen fuel cells, or hybrids with both conventional turbofan and electric propulsion in order to improve efficiency and environmental performance.
> RAT is only used when sh*t hits the fan.
Isn't it when air hits the fan, technically?
(Sorry.)