I was advised not to by a midwife (she had to as hospital policy) but she did suggest ways in which to co-sleep safely!
Talk to your dr, but I dont see how they could stop you co-sleeping if thats what you want to do