Nope, they’re dead. They might survive a quick drop in a puddle or a toilet, but a ride in a washing machine is total death.
You can pair AirPods with any Bluetooth audio source, but the sound quality isn’t good. I paired them with my Surface Pro and it was downright atrocious, worse than any other Bluetooth I had tried. I suspected it was intentional to keep them in the Apple ecosystem. It also loses all other functionality, like the prox sensor and tap control.
If you must, get a USB Bluetooth dongle for the computer, or a universal 3.5mm AUX to Bluetooth adapter. But you might have better luck with a competitor’s earbuds; unless you are listening to them on an Apple device, they’re horrible.