Yes. Bats are mammals with two hind limbs (legs) and two forelimbs modified as wings. The legs are used for:
They are fully functional, though reduced in size compared to non-flying mammals.