What about running from within a RESTXQ a client:connect/client:execute against the coupled db server that has been configured to startup like suggested by Fabrice (-c"SET MAINMEM TRUE;CREATE DB mainmem")?
…Marco’s approach ;) I agree, this would be possible! Looking forward to your experiences.
Christian