Text this: Work extraction and cooling of spins in the non-dissipative spin-boson model