I don't see any problem with your dog sleeping next to you. If he sleeps on top of you, then I think he is exerting his dominance over you though. That's probably not a good idea as you must always be the pack leader.