I understand the original concept for the D Series was to have a flat six air cooled engine. When the production car was actually made, was there enough space widthwise for such an engine? If so, probably putting a Corvair engine in would work.
The Corvair can be set up to run either way, but the stock rotation direction is wrong, just like a Citroen. Just so no one raises this objection.