Yes, it is possible to have an infinite execution time in PHP for a script by adding the set_time_limit(0) function to the beginning of a script.
This can also be executed in the  ‘php.ini’  file if not at the beginning of the script.