No.
Have breakfast means to have breakfast. But if you ask what to eat for breakfast, you must add for.
You can just use it as a fixed sentence pattern: what do you have for breakfast is to ask the other person what they have for breakfast.
A lot of English is like this. It's just customary usage.
I wish you progress in your studies~~