Ralph can shapeshift so recasting him would be easy, though I'm not sure what the story reason would be.
Why didn't Barry just ask the villain lady to release Iris at the end? She said she didn't have a problem with Barry, all she cared about was killing her evil husband. So why keep Iris in the mirror dimension?