No, you cannot pay a federal balance due with a state refund, sorry.
Just file both returns, on the federal one, choose that you will pay by check. Then once you get the state refund, you can mail in the federal payment or pay it online through the IRS Direct Pay website.