Yes, and you can set your periapsis from the halfway point of the transit, though farther back than that is less efficient. My method is to set it to just graze the atmosphere, then save the game as soon as I enter the target's SOI. Then I try burns to set different altitudes until I get one that works.