The [Robotic External Leak Locators][1] (RELL), which are mounted to the Special Purpose Dextrous Manipulator (SPDM) and then moved by the Space Station Remote Manipulator System, are stored inside. So if they need to be used, the crew must go EVA to mount them on the SPDM and then return them inside when the task is complete.

A "RELL [garage][2]" has been built and will be mounted externally on the ISS to keep the crew from having to do an EVA when the task needs to be done.

It's not uncommon for failed equipment to be brought inside at the end of an EVA and worked on or prepared to ship to the ground. One example is the Main Bus Switching Unit and Battery Charge/Discharge Unit mentioned [here][3] on 12/26/2019.

So the types of operations you mention are certainly possible.


  [1]: https://nexis.gsfc.nasa.gov/rell.html
  [2]: https://techcrunch.com/2019/12/03/nasa-will-launch-a-robot-hotel-to-the-space-station-on-its-next-spacex-resupply-mission/
  [3]: https://blogs.nasa.gov/stationreport/2019/12/26/iss-daily-summary-report-12262019/