Only as very young hatchlings (if related and raised together by The Breeder), I housed Rex and Puff in the same rearing tub (100L) until they started showing competition and dominance behaviours for prime basking spots, food, the water dish, the hide , and separated them at about 6 - 7 months old, and they were both a lot happier and much more settled and thrived strongly after separating (both grew to about 700g).
I currently have my new 2 hatchlings (both siblings, both 5 weeks old, one is a boy and the other is a girl) housed together in Rex and Puff's old rearing tub (this is on the advice of the lady breeder I bought them from who has been breeding bearded dragons for over 20 years).
I've provided 2 separate high basking spots (the only real dominance issues I've seen were for the top spot when there was only high basking spot (on the first day the girl was bossing the boy , today (day 2 with us) it's the other way around.
I suspect if they are both males, it's not going to work, two same size related females will work as hatchlings, and a related same age pair (boy & girl) will work as hatchlings. They will HAVE TO BE SEPARATED when they become juveniles about 6 months old (maybe sooner).
If you house them together - I suggest trying to feed them their live insects in a separate feeding tub and feeding them separately (to ensure both get their fair share) , and watching for any violence, if there is any violence - separate immediately.