Can the United States theoretically become a dictatorship?

Can the United States legally stop being a democracy and become a dictatorship? If so, invent a unique scenario where this happens!