As the other poster stated, unless you are planning to swap out the entire charging circuit, no you cannot put a rechargable AA (NiMH) in its place.
Here's a suitable replacement:
https://www.amazon.com/Battery-Rechargeable-Lithium-Polymer-Connector/dp/B09FFGQ8RP/