Can a house be refinanced by one of the owners to buy the other owner out while it is listed for sale?

Sure, as long as you can find a lender willing to refinance the property and the action does not violate any court order.