To a degree yes, however I have an ebike and the bosch battery with a it has a 500W battery which is about equiv (if my math is right) to a 28 Ah ryobi drill battery. Those don't exist btw, but if i wanted one and bought 7 4Ah batteries to get the same effect they would cost more than the single ebike battery.
As a single item they are pretty well priced for the power they offer.