I tried posting reply to the 2D auto tranny but the webpage won't reload.
So here it is:
Every engine in the world can be mated to an automatic tranny. Period.
You can do it provided you get an auto tranny with the same mounting & engine-to-transmission housing.
Diesels and automatic transmissions are a natural combination because of the high torque, so go ahead and do it.
I don't think the Corolla 2D tranny is electroncially controlled, even if it is, you can still make the marriage, it won't be very smooth though.