Work on AI and ML has certainly been done by hobbyist researchers. They may not have the means of your average massive tech conglomerate to spend on the hardware, but many have done just fine with average consumer-grade hardware.
Processing will undoubtedly take far more time, but if you have the patience you can engage in this sort of work while wearing sweats.