I'm sure there folks on here than know batteries more than me, but I'll share my experience.
I think you're on the right track to choose an AGM battery. In my personal experience, it is nice to have a maintenance free battery that doesn't require you to constantly check the water levels. They make less of a corrosive mess of the battery tray and they are supposed to hold up better to vibration.
Looking at the specs, I believe the Optima D27M has a 20 hour capacity of 66Ah.
I would direct you to a group 31 AGM - something like a Deka Intimidator 8A31DTM or this Duracell (made by East Penn/Deka?) AGM:
From Batteries Plus
https://www.batteriesplus.com/batter.../sli31dtmagmdc
or
Sam's Club
https://major-qa-mobilityapp.samsclu...requestid=9576
I offer these links only as an example. An online search will turn up many other buying options.
The Deka/Duracell are rated with a 20 hour capacity of 105AH. That's a good bit more capacity than you will see from the Optima. On a 12volt deep cycle battery, only half of this is usable capacity, so a higher AH rating is going to serve you better.
I have one of these that I've swapped around and used in several RVs over the years. It has been a reliable option for me. It fit in the stock battery tray of my 2016 Greyhawk 31FS without issue.
Batteries seem to be like tires and oil - everyone seems to have an opinion and brand preference. I worry less about the brand and more about the specs/warranty/availability.
-Doug