I have graduated in a foreign country. Can I apply for the master BEWM?

Yes, there is no restriction regarding the nationality of students or the country where they did their undergraduate studies. Note, however, that you will be asked to provide evidence that you have acquired the required skills in ecology and evolution during your undergraduate studies (see What academic background is required to attend the BEWM master?)