YES and a big YES, the shapness 75% depends on the lens and 20% on the technique and 5% on your equipment.
Also the more the focal length smaller the DOF for a particular aperture. That means a 50 mm at 2.8 will have a greater DOF than a 85mm at 2.8

