Yes, but your character says whatever you want them to, absent weird optional rules modules like the eyestrain rules for whatever that one magical-gunslinger class was.
Regardless, there are easier ways to get this even without any particular cheese. Ur-Priest to steal an Efreet's wish ability for example.