hello
yes, this is possible. How do you connect the Nicla and Portenta devices?
if you use the ESLOV connection, this could be implemented in the function:
void EslovHandler::writeConfigPacket(SensorConfigurationPacket& config) (see the source)
basically the structure SensorConfigurationPacket needs to be extended to include range settings, and this structure needs to be both updated on the Arduino_BHY2 and Arduino_BHY2Host libraries.
Let me know if this helps.