No. Replacing the battery using our official replacement parts is fully supported and does not affect the warranty coverage on the remainder of the headphones.
Please note that it is quite unlikely you will need to replace the battery within the warranty period, as the battery is designed to last several years.