Perfectly fine to do this. Of course what you really should be doing is wearing it to bed so it can track your sleep.
But yeah, I used to charge my Gear S2 all night and I had no problems. Also, since I use my Galaxy Watch for sleep tracking I charge it at work every other morning. Sometimes I go for a morning meeting and leave it there for a couple hours, and there's no problem with the battery life so far.