Can I add images to data bindings with React code?

Can I replace the image I’ve bound with data binding with an image I added directly in the React code, or do I have to add it inside Rive?