Exactly.
The IRS itself encourages every taxpayer to use every LEGAL means to reduce their tax bills.
There is nothing unusual in a business incorporating in a tax friendly state or aligning their units within states that provide maximum return or least expense based on regulations and taxation.