Yes you can, that scenario is quite common.
Just have both installed in your Mac, and change them from the properties of your project every time you create a new project. Every project will be linked to the specific certificate.
To change it, just click on your project, then Build settings, and set it here: