The GBA and GC only take AA batteries, which recharging versions didn't exist back then. They do now though, but you have to take the batteries out and recharge them in specific chargers, not a plug-in cable.

Back in the day, you could buy proprietary GBA battery packs which sometimes had an AC adapter connector on them.