I think that the concept of lucid dreaming is to do things that you can't do while awake, part of those things are immoral and I don't think that it should prevent you from
doing those things but if its really make you feel bad you shouldn't do it.