No, the iPhone 7 is supported by iOS 15 but from iPhone 7 to X will continue to receive security updates. it's the same as iPhone 5s. You are fine to use iPhone 7 as iOS 15, I would say that security updates and apps will stop working in the next 3 or 4 years for any apps.
iPhone 8 and X will...