Place max_execution_time in plugin [closed]

yes you can, but this will be applied to all the requests to the site which might actually bring it down if you have some infinite loop somewhere. A better way to do it is to find an action that is being used specifically in the upload process and call it only for that action.