We use I wish/if only when we want someting to be true but know it is impossible or unlikely.
We use if only/ I wish + the Past Simple to talk about regrets about the present. It means, It would be nice if ...
I wish/if only I could have a quiet evening at home. (It would be nice if I could have a quiet evening. It's a pity I can't have ...