Retirement tax questions

Follow up question involving tax planning for next year. We have an S-Corp and currently we put all medical/dental/HSA for our family on my W2 which inflates my box 1 by around 20k I then take the an above the line deduction. If for next year I put some of those benefit on my wife's W2 to keep her box 1 above 6k would that be okay?