Can I still capture a territory if I lose all my land units in combat?
The rulebook clearly covers this situation. On page 17 under Step 8: Capture Territory

If you win a combat as the attacker in a territory, and you have one or more surviving land units there, you take control of it.
Sea units cannot take control of a territory....
Air units can never capture a territory.