Building and loading a React Component from a bundle is file

I have not seen any implementation of this but is it possible to build a React component into a bundle js file through Vite then load the component from the bundle js file into another application?
Such that the other application can pass props to the loaded component and also re-render when the content in the other application loads.