It can be handled manually by using the default option (Selection) while exporting as JPEG (as shown in the below screenshot).
Sorry if I understood your requirement wrongly. Please elabrate your requirement if I am wrong.
Please revert for further assistance if any.
Exporting selection object as jpeg not a viable solution If cover objects overlap's / objects was extended to full page.
Can you provide me the screenshot of your InDesign document with overlapping objects and full page extended objects.