If labor occurs before my scheduled c-section, can I still have the procedure done?

Yes. Yes. You should call your doctor immediately and do not have anything to eat or drink until you have been evaluated.
Yes. Patients planning to have a cesarean delivery still have that option if spontaneous labor occurs. It would be wise to reassess the plan for delivery depending on the original reason for the planned csection and the stage of labor at presentation to the hospital.