Kingdom of Pets, the dog training experts who author Secrets To Dog Training, the dog owner's bible, issue a periodic newsletter. I found an article entitled "Hot Tips For The Bedroom" - a discussion of issues you might not be aware of when you let your dog sleep with you. Since roughly half the people who own dogs sleep with them, it pays to read this article.
Here are the tips in a nutshell:
#1 You should not let puppies or untrained dogs ON the bed, let alone sleeping on it. Their early training is the time when you establish your dominance and their boundaries. Only adult dogs should earn this privilege.
This one is not that obvious, but what is obvious is that an untrained dog can make a big mess in your bed or fall off the bed. Ready for a trip to the laundry or to the vet for broken bones?
#2 For dominant and Alpha dogs, avoid letting them sleep in your "spot" (with you in it or not). This suggests to them that they are in direct competition with you as pack leader.
#3 Don’t ever let your dog on your bed without inviting them first. This is often communicated more with body language, such as a quick succession of pats on the area of the bed you’re asking them to go to.
#4 Have a command for them to get off the bed too (if they are being restless and disruptive this can save a good night’s sleep, and it beats shoving them off). If your dog ignores you when you ask them to get "Off," you’ve got a bit of obedience work to do. If your dog growls at you at all, even when you attempt to adjust their position, then you’ve got some work to do (NOTE: don’t confuse a tired moan with a growl. It can sound similar, but a moan will occur without any aggressive posturing, for example, their mouth will be shut and lips not curled, and they won’t be making eye contact - their eyes might even be closed!)
#5 It’s best to allow your dog to sleep at the bottom end of the bed, and above the blankets.
Some dogs like to burrow under the blankets, which is a risk not only because they can get squished, especially if they’re smaller than you, but they can also potentially suffocate under there. If you allow this, adjust the blankets after they settle in to be sure that they can easily stick their head out. Because they generate a lot of heat too, these burrowers will likely move when they get too warm anyway.
Hope these tips help YOU get a good night's sleep!