Is it possible to convert CMYK to RGB with Imaging API?

Is there any way to convert from CMYK to RGB using the Imaging API? For example, for taking a screenshot of a document that is in CMYK.

https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/imaging/#photoshopimagedata