Can we actually stop using fossil fuels?

Is it smart—or crazy stupid—to rely solely on wind, solar, and hydro?