Indeed. As the old saying goes, Al Capone got nailed on tax evasion. As I understand it, the IRS is more interested in the amount than where it came from.
But they also were trying to bust him for evasion because he declared zero income and lived a visibly lavish lifestyle. The government was gathering evidence on his spending to estimate his income and how much he evaded.
You can't sustainably solve that problem by simply paying lots of tax on magic illegal money, especially not in today's interconnected world. Laundering is core to the solution.