Hey, Max. Hope all is well.
While it seems like a pretty cool idea and something I'm sure we would all love to be able to do, almost anyone and everyone on this site will STRONGLY recommend that you do not, under any circumstance, house two dragons together. Bearded Dragons are solitary animals; they are "lone wolves", as it were, and will be the safest and happiest when they are by themselves. Male dragons, when housed together, will fight. Females will become territorial and one will become the dominant (for example, eating all the food, taking the best basking spot) with fighting also a major risk. Babies when housed together will nip at each other, causing loss of limbs and sometimes, even death.
In my opinion, it is always best, and more importantly safest, for the dragon's to be kept in separate vivariums.