Do I understand the inquiry is for how to build a line-powered electric, single railcar by retrofitting? In terms of engineering complexity, starting with an EMU and cutting it down to a single railcar would work.
If not that, then a battery electric railcar would work as a base, since it would only need the line power equipment (eg pantograph, trolley pole) added, and disabling/removing the battery pack.
If not that, then a diesel railcar -- or DMU and cut it down -- and swap the diesel generator for line power equipment. The criteria is that for any self-propelled vehicle -- rail or otherwise -- having to reconstruct the propulsion mechanism is a big ask.
For that reason, the conversion of an unpowered railcar -- like a passenger coach or a freight wagon -- is way down the list, as any existing vehicle with propulsion makes for a better starting candidate.
So well before that, we would look to putting other land vehicles onto the rails. A motorcoach bus is a good candidate, but if hauling unpowered wagons is allowed again, a tractor-trailer cab (aka 18-wheeler) could be electrified and then tasked with pulling a consist of trailers converted with passenger seating.
I wish to reiterate that the effort to add a drivetrain to an unpowered vehicle is very high. Some vehicles might not even make this possible: imagine starting with a wellcar. There wouldn't be any room to put the drive motors near the bogies, without cutting and modifying the frame. And then it would need an operator cab, overhead power equipment, all manner of electric wiring, and so on. And that would still only yield a freight self-propelled railcar. More work would be needed to bring this into passenger service, unless the passengers are fine riding on an open car.