Yes, it's possible to transfer your health and activity data to the new iPhone if you use iCloud or an encrypted iTunes backup.