No, that's not supported. You can implement it as a compiler plugin but you need to ensure that no codegen phase starts before your plugin did its transformation which is kind of hard to ensure with the current pipelined architecture in the compiler.
It's also not a wise thing to attempt, it breaks any kind of modularity and when used for debugging produces an overwhelming mess to dig through. :)
