Battery light comes on during hard acceleration

It sounds to me like the belt is slipping. How old is the belt? I’d install a new belt, regardless of how the old one looks.

Once they start slipping they become glazed and the slipping will only become more frequent.