Yep. Even illegally earned income is subject to income tax.The real shenanigans is, while banking options are severely limited for the weed industry, the IRS has a guide on how weed producers and sellers can pay their taxes.
https://www.irs.gov/businesses/small-businesses-self-employed/marijuana-industry