This was my experience with a ThinkPad last year. They could not do on-site (in home) service due to the [redacted] lockdown so I had to do mail-in. They even emailed a PDF with instructions on how to remove the drive.
Sadly this is not possible with a modern MacBook. When I have had to send a MacBook to Apple (or a service partner) for repair I was instructed to wipe the machine (along with ensuring I log out of iCloud to disable Activation Lock and disable Find My). While it is good to ensure my personal data is not compromised it isn't user friendly at all to have to wipe my whole machine for a battery replacement :(
Sadly this is not possible with a modern MacBook. When I have had to send a MacBook to Apple (or a service partner) for repair I was instructed to wipe the machine (along with ensuring I log out of iCloud to disable Activation Lock and disable Find My). While it is good to ensure my personal data is not compromised it isn't user friendly at all to have to wipe my whole machine for a battery replacement :(