YES
But it will be very laborious. This is a work that involves a lot of black magic and evil witchcraft. Some entities of darkness will have to be invoked into the world of the living.
What you need to do is something like the lombok project underneath the cloths. He does everything I describe below and that is exactly why he has superpowers that we mere mortals do not have.
Basically what you're going to have to do is create an annotation processor that hijacks the compiler. This is possible because in the case of javac and the eclipse compiler, they are written in java and the annotation processor runs in the same JVM as the compiler. To hijack the compiler, you have to get access to the syntax trees from the code and come out by digging and tinkering at will. Because the compiler API is internal and should not be used publicly, in order to gain access to it you will need to use all sorts of cast, reflection, rule violation, trickery, and gambiarra as needed. It's worth handling bytecode in compiler classes.
After hijacking the compiler and having full domain over syntax trees, all you have to do is tinker with these trees to accept that you can redeclarate variables in the same scope and using a different type. After all, at this point, the compiler is already yours and you do whatever you want with it.
Good luck!
And if you want to follow this path, then welcome to the dark side of the force!
But ... Why do you even want to do this?