different years will work, but probably not without mods. the early ones for e-30 use a different ecu and different sensors in the head. these engines run w/out a knock sensor. The later ones than yours may work, but there were differences along the way with the belt system and maybe other stuff I am not aware of. a true plug in motor with no mods at all would probably have to be the same type as yours.
Geoff