Have your cake and eat it too
ɑst ɑkɑrjɑ hoɟɑ kɛtʃkɛ iʃ joːllɑkjon eːʃ ɑ kaːpostɑ iʃmɛɡmɑrɑɟːon
In Hungarian Azt akarja, hogy a kecske is jóllakjon, és a káposzta is megmaradjon.
This idiom, meaning 'He wants the goat to be full and the cabbage to remain', is a common way to express the idea.
Example
"Azt akarja, hogy a kecske is jóllakjon, és a káposzta is megmaradjon, de ez nem lehetséges."