How practical would it be to use tanks on the moon (or any low-gravity airless body)? Would they provide any practical advantage over orbital strikes or suborbital railgun bombardment?
A tank is a direct fire weapon system which carries its own sensors. Asking about tanks vs. suborbital strikes is comparable to asking about tanks vs. artillery today.
Yes, a laser-guided copperhead round can ruin a tank's day. But first you have to get a grunt with a laser designator into position, and then that infantryman must communicate with the artillery, the artillery has a long flight time, etc. In a high-intensity war, you can't count on having a drone with a designator overhead.
On an airless moon, and presumably in the future, that soldier with a laser designator might be replaced by a small robotic rover. But the principle still applies — if your sensor platform must get into position first and then call for fire, time is lost. There won't be treelines to hide, so the sensor platform might stand out more. Can it survive long enough?
I think if you want tanks in your story, you can have them.