"Subarus are known to eat head gaskets."
Not as much as they used to. The situation with the head gaskets started getting better in the mid 2000s.
One problem with the H-4 engine, though, is that some of them tend to use a lot of oil, as in a quart per 1,000 miles.
My 2012 had that issue, and my 2015 that I picked up yesterday is also in that band, but Subaru has extended coverage on those engines and will do a short block replacement to correct the issue if it's bad enough.