This occurs in English in various ways:
- To mark questions, e.g. Do ↔ you like pizza?
- In conditional clauses:
- Inversion is also used after a negative fronted adjunct, particularly never and hardly, e.g. Never have I had to walk so far!
This is one of the NICE properties of auxiliary verbs.