Answer:
Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
It is unlawful as it represents a help in sin. It is a rule in Sharia that anything that contains a help in sin or transgression is forbidden as Allah Says (interpretation of meaning):
{… Help you one another in AlBirr and AtTaqwa (virtue, righteousness and piety); but do not help one another in sin and transgression. And fear Allâh. Verily, Allâh is Severe in punishment.} [5: 2].
Allah knows best.