Not quite!

Q: When are you allowed to use hazard warning lights?
Correct answer:
When stopped and temporarily obstructing traffic
Explanation
You mustn't use hazard warning lights while moving, except to warn traffic behind when you slow suddenly on a motorway or unrestricted dual carriageway. Never use hazard warning lights to excuse dangerous or illegal parking.
Learn your theory >>
If you're looking for an earlier driving test we can help: www.driving-test-cancellations-4all.co.uk