In D&D, wish is an extremely powerfull spell, but it also comes with its risks:
The stress of casting this spell to produce any effect other than duplicating another spell weakens you. After enduring that stress, each time you cast a spell until you finish a long rest, you take 1d10 necrotic damage per level of that spell. This damage can't be reduced or prevented in any way. In addition, your Strength drops to 3, if it isn't 3 or lower already, for 2d4 days. For each of those days that you spend resting and doing nothing more than light activity, your remaining recovery time decreases by 2 days. Finally, there is a 33 percent chance that you are unable to cast wish ever again if you suffer this stress.
This consequence ensures that the players can't exploit this spell, at least, not too much. But, since the spell wish basically allows us to do almost anything, is there any reason that prevents a player from doing something like this:
I wish to be able to cast wish, without ever suffering stress from it.
Now, apart from rule 0, is there any written rule preventing this? Or is it technically allowed?