Yes. If your lie makes another person submit to your pretended authority, that likely is a crime. For example, if you are pretending to be a police officer, with fake lights and sirens, badge, and uniform, and pull someone over, you will likely be charged with a crime. Practicing law or medical services while falsely holding yourself out as holding those professional degrees are also crimes.