Can one RT box 1 can be used for HIL of DC microgrid ?

The goal is to test the generated code for the 3x independently operating MCUs, so each MCU is connected to a separate RT Box. Furthermore, the model must be run on several RT Box 1’s due to the required number of inputs/outputs and the required discretization step size to achieve high-fidelity results.

This is all application/model dependent, hence the need for more information about your system to better guide you.