I did this in 2018. I bought an Antminer S9 and power supply. It's not worth it as an individual. In order to earn anything at all, your cost of power needs to be ludicrously low and you still need to join a mining pool. And these things are LOUD. After a year of mining I broke even.
1 year ROI isn't too shabby
In fact, breaking even after a year is losing money because of inflation.
If they had put the same money in an index fund, they'd have made 10% at least.