Would replacing the SSD on a 14" MacBook Pro void warranty or make Apple deny service?

I have a 14" MacBook Pro with 512GB of internal storage, but I feel like this is not enough for my needs. I recently acquired a broken 14" MacBook Pro with 1TB of internal storage and am considering replacing the 512GB SSD in my MacBook Pro with the 1TB SSD from the broken MacBook Pro. My concern is that doing this will void the warranty or cause Apple to deny me service in the future due to the mismatch between the specification associated with the serial number and the actual storage in the computer. I will not be able to keep the other memory module as I plan on selling the broken MacBook Pro, so I won't be able to switch the 512 GB module back before sending my MacBook in for service. Is it possible to replace the 512GB SSD in my MacBook Pro with the 1TB SSD without voiding the warranty or causing any issues with future service? I asked Apple if they void the warranty for opening my MacBook Pro, and surprisingly they said that they don't. I did not ask them about replacing any parts, worried that they might make a note of that on their account and possibly deny me service in the future since I showed an interest in tinkering with the MacBook.

Would replacing the SSD on a 14" MacBook Pro void warranty or make Apple deny service?

I have a 14" MacBook Pro with 512GB of internal storage, but I feel like this is not enough for my needs.

I recently acquired a broken 14" MacBook Pro with 1TB of internal storage and am considering replacing the 512GB SSD in my MacBook Pro with the 1TB SSD from the broken MacBook Pro. My concern is that doing this will void the warranty or cause Apple to deny me service in the future due to the mismatch between the specification associated with the serial number and the actual storage in the computer.

I will not be able to keep the other memory module as I plan on selling the broken MacBook Pro, so I won't be able to switch the 512 GB module back before sending my MacBook in for service.

Is it possible to replace the 512GB SSD in my MacBook Pro with the 1TB SSD without voiding the warranty or causing any issues with future service?

I asked Apple if they void the warranty for opening my MacBook Pro, and surprisingly they said that they don't. I did not ask them about replacing any parts, worried that they might make a note of that on their account and possibly deny me service in the future since I showed an interest in tinkering with the MacBook.