It can be, but there are generally better options. 'Dear' feels like an old-school way of addressing someone, such as in a hand-written letter. It may come across as out-of-touch with your recipient, unless they are from an era where it was more widely used.