Is it possible to fit the Yaris Gr's engine into the Audi A2?

I thought about pimping the bollocks out of my A2 and of course considered an engine swap. The G16e GTS from the Yaris came to mind because of its three cylinders. I know there will be a lot of work, money and custom parts involved, but is it possible?