Yes, all dreaming is moral and ethical.
Dreams lack your conscious volition and without what secular law calls mens rea, Latin for an evil mind or intent, you are not guilty of any infraction as that same measure applies in this case.
Dream on buddy, without worry.
Regards
DL