TL;DR: Depends on what you mean.
Long version:
Disclaimer: I’m not an expert by any means, I haven’t vetted the links properly (or at all), they’re mostly there for illustration and if you want to read further. Also, the last time I actually read up on this is quite some years ago, so stuff may have changed in the industry and/or my memory on specifics is foggy. Many of the links lead to Tesla sources since I first looked into this topic back before Musk made it known to the public that he’s an insufferable human being.
Batteries are usually structurally integrated into the chassis with modern EVs, since that means space (and often small weight) savings, and is easier/faster to do in manufacturing.
With that knowledge, it is safe to assume that replacing a car’s battery is a difficult or next to impossible task, outside of end-of-life reuse.
But this is actually where it gets interesting, since EV batteries last many years anyways: What happens when the car’s time has come?
Well… the batteries can be reused. It’s not a trivial process, there’s several ways to do it, but the best intuitive explanation I’ve found is this: In raw ore, lithium and other metals are present at maybe 0.1 or 1%, per tonne of material. In batteries, it’s maybe 99% of reusable, expensive material. Even if you let it be 90 due to inefficiencies in recovery, or whatever, it’ll still make way more sense financially to work with old batteries – once you have the process figured out and automated machinery to get it done in place.
All that is assuming total destruction of the existing cells, which, depending on their state, may not even be necessary at all. In fact, it looks like all of that may not be needed for as much as >80% of batteries. Wow!
And we all know the best way to ensure companies are doing something is if the financial aspect aligns with their goals. It’s in their best self-interest to be able to and actually do this.