Yes, you can include the nontaxable BAH and BAS income when calculating your nontaxable income for sales tax purposes.
Please see Can I claim the sales tax deduction? and Where do I enter my sales taxes paid? for additional information.