Max chose to sleep in his xpen next to my bed until he was a year old. One very cold morning, I picked him up and put him in my bed. He decided to sleep with me from that day forward.
Teddy was about the same age when he started sleeping in the bed. He had to have Max's approval.
If you are worried about potential potty problems, I would put a water-proof cover on your mattress.