The short answer
No. Dreaming does not by itself show that you slept well. Most people dream every night, including during sleep stages they do not remember. Remembering a dream usually means you woke during or just after one. That says something about the moment you woke, not necessarily about how good your sleep was.
Why dreaming happens during sleep
Dreams occur mainly during REM sleep, the stage when brain activity is high and the body is largely still. Sleep moves through several stages in cycles across the night. REM periods tend to be longer later in the night, which is one reason a dream is more often in mind when you wake in the early morning.
Some mental activity also happens outside REM sleep. It is often more like thinking than a full, vivid dream, and it is usually harder to recall.
What dream recall does and does not tell you
Whether you remember a dream depends on several things: how often you wake during the night, how quickly you move from dreaming to being awake, how much attention you give the dream as you wake, and how your memory is working at that moment. Someone who wakes briefly during the night may recall dreams more often without sleeping any better or worse than someone who rarely remembers them.
A dream you suddenly recall during the day is a separate matter, covered by spontaneous dream recall, and it tells you little about the night before.
Dreams that feel vivid
Vivid or intense dreams can happen when sleep is disrupted, when you are stressed, or when your routine has changed. Some medicines and changes in alcohol use are also linked to changes in how dreams feel. None of this means a vivid dream is a sign of poor sleep on its own.
If your dreams are frightening or keep you awake, or you feel tired during the day, speak with a doctor. Sleep problems can have treatable causes, and a doctor can help you sort out which ones apply to you.
Better signs of good sleep
Signs that your sleep went well tend to show up in how you feel: waking up reasonably rested, falling asleep without long delays, and not feeling unusually sleepy during the day. Sleep-tracking apps and wearable devices offer their own measures, but those figures are estimates and should not be treated as precise.
If you want to remember more dreams
Dreams are easier to remember when you have a habit of noting them, such as writing them down soon after waking. If that is your goal, the practical side of building that habit is covered in dream journal rituals, and it is a separate question from what your dreams say about your sleep.