If you simply mean "not paying your taxes" then this is a crime that is frequently prosecuted and is not particularly clever or a hack.
You appear to be conflating the two for some reason.
If you mean, "unauthorized access of a computer system", then yes, that is unlawful and would possibly be one reason why some people are prosecuted and sent to jail.
Nit:
>> For example, there’s a corporate tax trick called the “Double Irish with a Dutch Sandwich.”
This has not been a thing since 2020.