Mass change of primary email address
Yes, making use of the api you can change more or less any data. Test it by accessing the api explorer under &lt;your_installation&gt;/civicrm/api. 


First check getting emails in question. 
Then try out setting parameters like you want. 
Combine the calls to either a php script or use api chaining in the api explorer.


Keep in mind that get operations are limited to 25 results by default and that update operations may harm your data – even in the api explorer.

If you have questions consider Using the API or ask here.