Your nervous system cannot tell the difference between an imagined experience and a “real” experience. In either case, it reacts automatically to information which you give to it from your forebrain. Your nervous system reacts appropriately to what “you” think or imagine to be true.
Ypur thoughts are acted upon by your nervous system. It cant tell the difference between real or fake