Michigan has done this. Don't know if it was on a permanent basis or not though.
Michigan, Wisconson, Arkansas among many others. We defeated a private prison proposed here in Texas which was going to try to operate with only out of state transfers, as TDCJ had turned them down flat. Long history of the out of state housing, the court has to be hanging on the adequacy of mental health screening, not the out of state question itself.