Is it a fuel pump issue?
It's possible that a failing fuel pump (https://www.yourmechanic.com/services/fuel-pump-replacement), or a clogged fuel filter or fuel injectors for that matter, can cause stalling at idle but there are other common causes such as vacuum leaks, EGR system faults, sensor faults such...