It’s possible, and you use exactly the same approach as you would for persistent entities. You need to create a JSON structure, and then build an Export Mapping using this structure. More details can be found here.
https://docs.mendix.com/refguide/export-mapping-action
Here the screenhoots:
Here the new screenshots: