Morally dubious? For sure.
Just because OP isn't in jail doesn't mean they didn't break the law. Laws are broken all the time.
Generous to assume that all that break laws go to jail.
Morally dubious? For sure.