Can stress affect your dogs sleep pattern?

Can stress affect your dogs sleep pattern?