When I sent my Apple laptop in for a battery replacement, their suggestion was to backup and wipe the drive.
And as someone who has recently had a MacBook Pro repaired, they swapped virtually everything. Keyboard, Mboard, Touch Bar, etc. the only original thing now is the screen. I would have had to restore from backup anyway. As a plus, my SSD is now brand new so any wear on it after 2.9 years of service is gone :)
How is a customer suppose to backup and wipe their devices?
Yes, it was fine. If you are in a hurry you can even boot from a Time Machine backup.