Yes, a non-resident can register an electric car in Germany through CarTurf. CarTurf is the registered keeper (Halter), you remain the owner, and the car gets German plates and insurance.
The tax side is simple: battery-electric cars first registered between 18 May 2011 and 31 December 2030 are exempt from German vehicle tax for ten years from first registration, but no later than 31 December 2035. The exemption passes to the next keeper if it has not run out, so a used EV keeps the rest of its tax-free period. After that, the tax is reduced by 50%. The exemption is applied automatically.
Electric vehicles registered through CarTurf include a Tesla Model 3, an Xpeng G6, a Nissan Leaf and a Ford E-Transit van, alongside plug-in hybrids such as a Volvo XC60 and a Ford Transit Custom.