I mean sure, but assuming that he doesn’t have to abide by the wish in question in any way pretty much voids the point of this entire post right?
At this point in the argument, on your logic, the post itself might as well be “Make a wish, it doesn’t matter what. A malevolent genie is going to arbitrarily screw you”
So then what’s the point?
This is a fascinating world building question. Genies are supposed to be magical, extremely powerful beings, but they only become interesting when bound by rules - either set by the limitations of the world, or of their magic.
A “fuck you I do what I want” genie isn’t interesting because there’s nothing to figure out in the context of the world the genie inhabits. And that world’s context and structure ultimately dictates what makes sense to an audience, and what seems jarring or out of place.
The way a genie fulfills wishes and how it tries to worm out of it can tell you much of the fictional world it inhabits!