Yes, but in this scenario they would be shooting back. All you need is to label them something starting with T and ending with 'rists' and the rules of engagement change.
In this day and age, the best bet for democratic societies is to try to keep democracy while they still have it. After that is lost, all bets are off. The government controls the legislative, the executive and the judiciary. It controls intelligence gathering. It can make your group illegal, it can then persecute your group, it can throw law enforcement at it before it is even properly organized.
If the military even gets involved, it means that whoever is in charge dropped the ball.
Small arms mean nothing if you have well organized law enforcement. If you add the military to the picture... well, they are trained for exactly this sort of thing, aren't they?
It's all delusions of grandeur from people living in a romanticized fantasy world that does not exist.
Look at how fast "good guys with guns fighting the government" got shut down when the BPP started carrying.
The answer is: tanks need to refuel somewhere, or trucks need to bring them more fuel. Also, the people inside the tanks need to get out to eat. And worse... again, just repeating the usual argument here... if it was against a truly dictatorial regime, let's say, to give the benefit of the doubt... the people inside the tank have friends and family that are not with them inside the tank.
But I assume if it got to the point that hundreds of tanks and hundreds of aircraft were being used against US citizens, the humans in the military would probably not be okay with that and this scenario would never happen.