I have a rear hub with rack mounted battery, the bike rides fine but is very tail heavy especially with shopping in the panniers.
The rear tyre carries a lot of weight, rear punctures are common but never had a front puncture.
I'd expect a down tube battery to give better weigh distribution but...