The Wikipedia page has a pretty good rundown on the criticism and existing studies. From my understanding, it isn’t clear that the studies that have been done indicate any depletion effect at all.
https://en.wikipedia.org/wiki/Ego_depletion#Reproducibility_...