Can I restrict shipping by customer attributes?

Yes, it’s possible. You can choose which customer attributes to use in the Conditions:

 

Magento Shipping Restrictions - Amasty

Rate the answer?