full apps from iPhone 7 to XR


Can I make full backup from iPhone 7 to restore to XR one with both devices with the same OSX ?
My experience says backup via iTunes doesn't restore all application e.g. apps which are downloaded from third-part store.
I ask if content app are keeping because in one of previous upgrade I lost app content too, as Whatsapp messages.