Can you sell a salvage car?

In general, yes. However, to do so lawfully, a new title has to be issued, usually called a "salvage title".