Historically evidence points to no exceptions for better specced out machines. At best M1 Pro and M1 Max chips will last a year longer than M1 machines from the same year regardless of RAM. They will likely retire the entire chip family altogether.Your post also got me thinking of how exactly Apple will decide when to cut off software support for M1 Macs. Will they just unilaterally decide that all M1 hardware (regardless of spec) stop getting macOS updates beyond a certain date, or make some sort of exception for devices with more ram?
But because we just had a chip transition and Apple wants to grow its install base to build a more appealing hardware platform for software developers, there's a good chance that support for the M1 will last much longer than the usual 7 years.
It could well be that the relentless progress of Moore's Law will make people want to retire their M1 Macs before software upgrades stop.