I purposely sought out a pedi (she's actually a family practice doctor, so she did my prenatal care, delivered my babe, and is now both our docs) who was aware of and supportive of attachment parenting (though I don't consider myself 100% AP). When I asked her about co-sleeping, she gave me the party line (sleep alone in a crib) before saying that the reality is that BFing will make you crazy if you don't co sleep. Then we went over how to do it safely.
There was a thread about this earlier and different people have different approaches. I tend to get overwhelmed by authority figures, so it was important for me to have someone who was on the same page as me, especially because DH would follow her lead (he's very medically oriented). Other people are able to just reject advice they don't want.
But if you're finding yourself actually avoiding your doctor, that signals a problem to me. I love our doctor and love going to see her. We do the standard well baby visits because I know she's not going to force things on me and I trust her pretty much implicitly if there were a problem. I'm probably closer with her than most people are with their pedis because we did the very frequent prenatal visits, she delivered my baby, and was wonderful when DD had to spend a week in the special care nursery. So I feel like we know each other very well.
Follow Mothering