it's actually a tell tale sign of addiction.
in drug recovery they teach you about how this is gonna happen. we called them dope dreams... for me personally i would do everything in the dream but get high. make the call, go over someone's house, make the stem, look out the window for the guy coming with the dope, the whole bit. but every time i'd get ready to get high i'd wake up, and you could damn near taste it.
it ****s a lot of people up beucase you think you are doing something wrong if you are still thinking/dreaming that vilely about it, but that's quite normal. while you personally understand the need to get off of porn/fapping, your body does not give a **** lol. your body is used to doing something and getting a certain pleasurable reaction rom that something, and it wants it back. lol your body literally wants you to relapse.
i've been clean from drugs since 2005, and i still have them. not often at all, maybe 1-2 times a year but i get them. same with jacking off though i admit i do fap a few times a month for various reasons. maybe a particular porno i want to watch or the wife's time or the month or whatever.