According to my vet, the dogs should never be on the bed with you, that is making them equal to you in the pack h ierarchy. (I don't always listen to my vet!)
I have two dogs, and they are on the bed, although they don't sleep there. The one likes to get into bed with us, but as soon as the lights go out, she gets down and goes on her own bed. They both get up with me in the morning for a cuddle.
They did sleep on the bed with us, but I found my sleep was too fragmented. My sleep comes first!! lol
I just close the bedroom door, and they go off to their own corners for the night.
BB
.