It is quite an interesting situation. This issue is not confirmed or studied scientifically, but I have seen multiple times already how people talk about some vivid and weird dreams when they use zma. Luckily, it is not health threatening, so there is no need to worry.