NCAA:
Yup, if you want to have an IW this is pretty much the best situation for it. B's ball after a 10 yard distance penalty from whereever A15 kicked the ball (or half the distance, obviously, if inside A-20).
If you are stupid enough to ask an option from team B and if they happen to decline (which they obviously won't), team A then has the option of taking the result of the play, which they will, 1st and 10 for team A at B-25.