Here the answer depends on the specific religion and the analysis of all its norms and dogmas. Generally speaking, it is not encouraged and is condemned, but it is quite rarely directly called a sin and completely prohibited. The main criterion is the consequences of such acts and their scale. If it becomes problematic and leads to the violation of other norms (for example, to cheating or stealing), then it is definitely considered a sin and should be stopped as soon as possible.