It is not illigal but rather usually frowned upon.