Yes, the heater would still work.
Hot coolant flows through the heater core (basically a radiator thats inside the dash). Air flows past the hot coolant in the heater core, and gives you heat in the cab.
You can bypass it by hooking the coolant lines together at the firewall. Two coolant lines...