You can do training in a number of European schools, there are a number schools currently training students from outside the EU, but they are sponsored by or looking to work for airlines in their own countries.
However, doing your training here will not give you the right to work or live here, you will have to go through official channels to get that permission. European airlines tend to require the the right to live and work here for you to gain employment.