Edit: although maybe there's a good idea: catapult or winch launch for electric aircraft would massively reduce the power and energy storage requirements to be carried onboard.
Being constrained to a ship makes things harder though. If it was simply very long (runway length), I reckon an abort would be fine. There are probably a lot of different ways to do it.
But yeah, much harder than a regular runway. Probably not economical.
Considering how thick fast charging cables for cars are, I don't think it will fly, literally. We could make the cables thinner with high enough voltage I guess. But then we would actually need two wires with proper separation, because unlike with trains, you obviously can't use the ground for the return path. Loose high voltage wires may be a safety problem too.
By comparison glider launch wires are quite thin and light.
It sounds ridiculous but I’ve been in aircraft that take off while attached to a cable thousands of feet in length — a winch launched glider!