Narcissistic tendencies can improve with treatment, though this requires a lot of time, effort, and patience.
If you decide to maintain a relationship with someone with NPD during treatment, it's important to set realistic expectations and healthy boundaries.