Common causes of engine stalling and poor acceleration include a faulty mass airflow sensor, faulty engine coolant temperature switch / sensor (typically at cold start only), worn spark plugs, wires or defective ignition coil (s), inadequate fuel delivery or pressure (clogged fuel filter,... (yourmechanic.com)
There are a whole lot of things that could be awry, including things like faulty spark plugs, faulty spark plug wires, faulty ignition module and faulty engine control computer, that DO NT set a code in OBDII. (mechanics.stackexchange.com)
But faulty engine nozzles or other damage to the engine could make that impossible. (scientificamerican.com)