Stop in for a cup of coffee

if they total it, and you buy it back, can you still title and plate it in CA?
O yes. No problem. Will just have to pass a light and brake inspection. That's it....