I understand your goal is to retain old motherboard into a new device. Yes. All information is contained on the chips on the motherboard. While icloud backup is highly recommended—because any mishap could destroy your motherboard circuit or cause memory erasure—if backup is impossible, swapping board (or more accurately, swapping everything except the board) should allow you to regain full phone function. (THEN immediately do a backup to prevent the situation in future.) Be sure exact same phone models. This trick may not work with newer models. We assume no liability if you brick your own phone in this process.