I think there are several here who have reported success in using that method to gain weight. The key is mixing it with something to cut down the thickness/improve the flavor so drinking it doesn't feel like a chore.
The one time I just used chocolate syrup the result was less than appetizing. What I do instead is mix equal parts heavy cream and pre-mixed chocolate milk.