Until your puppy has grown enough to be able to hold their bladder through the night, allowing them to sleep in your bed is likely to end in soggy sheets.
If you're using a confinement space, you can put a potty pad next to puppy's bed so they can potty in the middle of the night without waking you.