Pregnancy question

If you wanted to have a c section instead of a vaginal birth could you choose to do that? Or do they only do a c section in the case of an emergency?