It should be possible. The newer implementations of ILO and iDRAC are based on the so-called Redfish API, which is essentially an HTTP-JSON interface.
Below is a screenshot of Network Scanner's Remote JSON for extracting ILO IP address. There should be a similar way for iDRAC and IMM. You can use the Redfish query builder to explore the JSON tree and find in what node the IP address is.