No you can buy the replacement. See the above guide for a link on how to do that and iFixIt sells them. Recommend buying more than one because installation is tricky - must get it aligned perfectly though the spluger and pointy tweezers can help reposition minor slipups.
iPhone 7 电池更换