rtgs can be used to aid solar in charging batteries, the digging process can take a long time, if you space it correctly you would be able to get that energy from solar etc
No, you cannot. You are still dramatically underestimating the density of hydrocarbon energy. Solar, electric, batteries, etc do not even remotely come close.
This line of thinking also dramatically underestimates the energy requirement to excavate dirt and rock...
Then, figure it's on another planet with dust storms that have already killed solar-powered rovers, etc.
There are excavators both small and big so yes you can definetely excavate using electricity alone.
> dust storms that have already killed solar-powered rovers
Looking at list here https://en.wikipedia.org/wiki/Mars_rover I guess you talk about Zhurong and Opportunity? Both of these seems like success story given that they survived way longer than they were expected to..