Yes, Apple can replace it. Also you can do it yourself:
It is a 2015 MacBook Pro and I’m am curious if apple can replace my battery if I send it into them. Or if it is easy to replace myself, I ca do that as well but not sure if it is easy or not.
User profile for user: jessefromperkasie
Question: Does apple replace batteries on old macbook pros