Energy density is probably quite important for something handheld like a chainsaw. I doubt batteries are able to replace that except for some light garden use.
I have a chainsaw that runs on mains power. It's really nice (and quiet) for smaller tasks close to the house, but it doesn't help once you get outside extension cord-range.