Not quite.
You can use the writeoff function in AR to write off a customer credit, and at the same time issue a manual check in AP to pay the customer, but not the other way around.
The alternative is the way you suggest, just make sure to use the same GL account for both adjustments.
Steve