It’s more likely the fact the iPhone 7 only has 2GB of RAM and two cores, not to mention missing the Neural Engine, the image processor and other features on Apple’s latest SoCs that iOS 16 requires for some of its features.
Most of major features of iOS 16 would have to be removed to run on an iPhone 7.