Ya. Yelling at the kids might be more of a side effect of you and your wife not
Disciplining equally.
I'd Express to your wife that you don't enjoy being the bad guy disciplinarian all the time and see if you can meet in the middle with a bedtime gameplan