Not worth it. The whole electronic system is different between the two engines. Not to mention it would take substantial recoding of the car's systems to get everything to mesh together.
If you really want to do an engine swap, I suggest looking for a good M54B30 to put into your car. Either that or just buy a new car.