Sometimes yes, sometimes no. If one is truly "hard-wired" over particular traits there may be nothing they can do. Where they are locked in a recursion, making the same mistakes over and over again and perhaps not even being able to recognize it.
Perhaps made worse if one's autism involves diminished cognitive abilities- executive functioning, etc.. What you are discussing can often draw a very harsh line between the perception of a Neurotypical person versus a Neurodiverse person.
In our world, "can't" doesn't always equate to "won't". A concept that IMO, NTs seem to struggle with. Where perhaps the greatest advance may be for such a person to be able to acknowledge what traits are "hard-wired" for them, yet still not being able to do much about it.
"God grant me the serenity to accept the things I cannot change;
courage to change the things I can;and wisdom to know the difference."
Yes you are right about those things. I don't equate can't with won't but agree that not all can learn to change their behavior. And I LOVE the serenity prayer- it has saved so many. So guess this is the wisdom to know the difference part.