r9000 Dura Ace inner chainring vs r7000 105
There are component tables on the tech website you can look up, but the short answer is yes, it will work as intended for shimano manufactured rings.
People seem to wear out the 50 outer ring quicker on Road as it's used considerably more than the 34, so don't worry about durability too much. Keep your eye on chain wear like normal to extend ring life.