Do batteries obey Ohm's law during charging?
A battery will need a charging regime to match its chemistry.
So, this regime will change over time as the battery state changes.
The charging circuit is designed to supply some fraction of the current capacity as some batteries are capable of supplying hundreds, or thousands, of amps for short periods of time - usually seconds.
Charging the battery at its max rate causes overheating, damage and a much reduced lifetime.
So while a battery at a particular point in its charging cycle may be assumed to appear to match Ohm’s law, the chemical reaction may not.