IMO The inspector might allow it per 225.30(D) I would certainly talk to them about it beforehand.
If you are allowed to do this you will be required by 225.31 to install a disconnecting means, that disconnecting means would have to be service rated per 225.36.