Hello,
With my suggested way it is only possible to obtain the ICCID of the SIM in use at the moment, and indeed, your solution seems like the only way to get both ICCIDs.
The RMS is constantly getting new updates, and hopefully more extensive data extraction methods will be available in future updates.
Best regards,
DaumantasG