Will engine oil mixed with gasoline ruin a car motor?

I also dispose of my old 2 stroke oil in my car but I have never put 2 1/2 gal in an empty tank, I always do it on a mostly full one so I can’t say for sure.