Unless you are willing to stop cooking, comparing indoor pollution while cooking with a gas stove versus when not cooking with anything is dumb.
Comparing indoor pollution while cooking with a gas stove versus an electric stove makes sense.
Yes, I suspect electric is cleaner than gas, how much cleaner is what's important.