No. The gambler's fallacy is when we ascribe dependency to independent events. Stock performance tomorrow is very much NOT independent of stock performance today, e.g. "market correction"
There is a pretty strong empirical support for the random walk hypothesis, the essence of which is that performance tomorrow is independent of performance today.