Can I Wear Shorts to the Office?

Is it possible to wear shorts to work? I have seen chic Parisiennes of all ages wearing “city” walking shorts with and without a cuff, creased and uncreased. I think they would look good in an office setting as well as the street, but I also worry that they don’t seem professional enough. Can you…