Yes, you can select the date range for an Insights report when exporting data through the Query API. However, the date range is determined by how the report was saved in the Mixpanel UI, not by passing date parameters directly to the API. When you use the Query API's /insights endpoint, you provide the bookmark_id of the saved Insights report, and the API returns data for the date range configured in that report at the time it was saved. There are no from_date or to_date parameters available for the /insights endpoint in the Query API; the date range is part of the saved report configuration Query API - Insights.
If you need to change the date range, you must update the report in the Mixpanel UI and then use the Query API to export the updated data.