Yes, official builds and releases of iOS software supersede beta versions.
For instance, an Apple Watch may have older watchOS versions while an iPhone has newer iOS versions. However, if the vice versa were the case, with an iPhone running iOS 18 and the Watch on a beta version, it wouldn’t work.