Not at all,masturbation is a sin and secondly it is not good for your health,it has some side effects like severe headache and lack of sexual urge towards the opposite sex.
Masturbation reduces life energy,it weakens the mind and can become an addiction.
It is not encouraging at all