Rough sex while pregnant?

Can it harm the baby? Are there any restricted positions? my guy likes my legs up to my ears pretty much it doesn't hurt I jusy worry about the baby sometimes . 
I feel more comfortable asking here for some reason because I have a male doctor.