Yes, there are 12 possibilities to place the gems and you have all the gems you need. The green gems can be in 6 different places and then swap red/blue which gives 12. I opened all the doors this way so this has to work for you too
I can't be more specific as I forgot the correct combinations myself but it is really not that hard as there are not many possibilities.