Yes, there is. Move managing of disabled functions from php.ini to PHP-FPM config (if you use PHP-FPM) and/or webserver's config for LiteSpeed/OpenLiteSpeed. This way you will be able to could enable exec() function in php but just for 1 user / domain on server.