Now, could hardware vendors tell Qualcomm to go pound sand and run their own support for old SoCs? Yes they could. Do they want to? Hell no, supporting old devices doesn't make any money.
Samsung & Pixel are now offering 7 years of updates for flagships, so it would seem it's no longer a hardware/support limitation and purely a financial decision by other android manufacturers, and by Samsung for their non S-series of phones.
TL;DR OEMs are deliberately choosing to not support their devices, not due to any limitations anymore (thanks to project treble).