As far as i know that would be illegal. To profit from the free right to live and work anywhere in the EU you have to be an EU citizen. The easiest solution would be to get a german citizenship, or any other EU citizenship for that matter.
The german pilot market is completely dead at the moment except for those in cadet programs of either lufthansa or air berlin or some pay to fly programs (not a good idea, doing these means you're unemployable with the aforementioned bigger airlines). Getting an EU citizenship would be a good idea therefore if you you insist on working in the EU, which in its current economic climate is quite a questionable idea.