Perhaps...but only if he can get permission. The rules that govern family housing is that it is designed for families to live in.
if the plan is for him to move out, he would need to get permission from the base commander to allow you to remain in base housing
Under the rules that apply to family housing, the base commander has the final say on base housing questions. So the base commander could approve this.
But your spouse would need to make the request.
If the request is not approved, he would be eligible for BAH
(housing allowance) and under the rules that govern entitlement, you would be eligible for a portion of that money (for support)
But to answer the question, is it possible for him to move out, and you remain in housing? Sure...IF, and that is the key, IF the commander approve the request.