There are numerous incidents in scriptures where God or goddesses appear to a devotee after performing penance (tapasya) on the name of that particular God or particular goddesses inorder to ask for the wish.
Does God appear to them in visible form to their eyes or appears in yogic state (experience) or any other way?