Refund Advance

Is it possible to receive refund advance from federal if you owe state taxes? Can federal taxes be paid using refund advance if eligible?