No. In fact, this is often what people mean when they say “tone deaf“, as singing is one of the easiest ways to tell if someone has a good sense of pitch or not.

If you can’t hear pitches reliably, you will almost certainly pitch your notes out of tune when you sing. On the other hand, if you can reliably sing in tune, you clearly have a good sense of pitch, so you are not tone deaf.