Yes, it is possible. Electric motors can produce more power than a 'gas' engine of the same size. For example the Tesla Model S 70D is as powerful as a high performance sports car, yet the motors take up so little room that they were able to turn the front engine compartment into a trunk!
Range is a function of the energy source, not the engine. At present 'gas' can store more energy than batteries. However new battery technologies are closing the gap. Also a 'gas' vehicle must carry enough fuel to make the trip (or stop for refueling along the way) whereas solar or wind can produce electricity continuously - providing the possibility of an electric vehicle with infinite range.
As fossil fuels become harder to extract and more expensive, so alternatives will become more attractive. A solar/wind powered container ship might take a little longer to reach its destination than a diesel ship, but it would be getting its 'fuel' for free! In the long run this may make it cheaper to operate.
We already have electric powered buses, trucks, trains, ships, and even aircraft. As the technology improves we can expect to see a lot more. In another hundred years the internal combustion engine may be as much a curiosity as steam engines are today.