Rotate HDRI image only?
This is possible in EEVEE and Cycles without compositing by using the Light Path Node&gt;is Camera Ray output.
A node setup like below will allow you to do just what you are asking:


This produces the following result in the EEVEE viewport:

Notice that the background rotates, but the lighting does not.