I wouldnt give up on keeping it rideable. The top tube dent would likely roll out with tubing blocks. If the seatstay is just a bit dented but not structurally bent/bowed you could infill the dent, either with auto body filler, jb weld epoxy or fill with bronze braze. Paint would be affected but it looks like it needs some paint touch-up already.