Sure, you can tell AO not to optimize based on e.g. (a string in) the URL via the API (and more specifically the "autoptimize_filter_noptimize"-filter. There's an example of how to exclude pages based on the URL in wp-content/plugins/autoptimize/autoptimize_helper.php_example.
Kind regards,
frank