I initially did this, but after reading that it is a bad habit, I have stopped. Had a hard time with D and D7 and found fretting with the thumb easier, but now I have them both down without it. Some other chords would still be easier with thumb, but I have found it better to just use proper fingerings and avoid using the thumb as a shortcut.