is it illegal to keep an insurance auto accident claim payment rather than have the repairs done.?
No, unless your policy (or other agreement with the insurer) says otherwise.
It is not illegal, but if you have settled property damage in exchange for a claim payment, that is all you are going to get for property damage.