Just beware that although on paper an AGM battery is superior to a flooded cell battery, it might not perform as well as it should when installed in a Subaru.
I would lean towards NOT putting an AGM battery into a vehicle that did not come with one as standard equipment, or that didn't have some serious thermal isolation. AGM is conceptually better than a flooded cell battery, but there are downsides. They are sensitive to heat, and charging at an aggressive rate when they are too warm can damage and short-life them. There is a very specific taper rate recommended, especially when the temperature is elevated. The alternator of our generation cars is probably not computer controlled to the level required to meet this.
Will you get away with it? Maybe. But look at cars that came with an AGM and you'll find that the battery was either in the trunk, or isolated from the engine by a partition or a thick thermal shell (and not that silly cozy that comes with the Group 25 battery).
If there is no price differential, then go for it. If you are paying 2x what a conventional flooded cell battery would cost, I'd pass.