Yes. Except for the a10 and a11 iPhones that only got 5-6 years, which is extremely impressive in the smartphone world. I have a feeling a12 is going to be the cutoff for at least one more year in iOS land.We get 7 years of iOS/iPad OS updates as a general rule. Apple publicly acknowledges that people keep Macs longer than iPhones/iPads, so the implied strategy is they can extend feature-macOS releases beyond 7 years since they transitioned to Apple Silicon.
Apple knows they made the M1 too good so cutting off support after 5-6 years will be a great way to force people to upgrade.
Also, we must remember that M1 is the first and apple always short shippers first gen products.(granted, I know it’s not the first gen of apple silicon technically, but it’s the first gen of AS macs.)
Of course these are just my opinions and speculations based on what I’ve seen in the past and what we know now. We’ll have to wait a few years and see what happens.