This is currently possible in ArcGIS Enterprise.
If you are using a GPService to access your images, you could encode them in base64, so it will be passed as strings through the REST API.
Sign in to post, follow content, and more. New here? Register for free.