Flt Planning: Area of Interest (AOI) vs Available Flight Area

Is there a technique/app that enables flt planning where the subject AOI to be mapped is wholly/in part outside of the area available to fly in (beyond randomly playing with the start pt and/or flt direction); if not, could this be considered i.e. defining two areas: both the “AOI” to be mapped and the “Available Flt Area” within which the optimum flt path must be planned.
A simple example would be where a subject property (to be mapped in full) has two very busy roads along two sides of the property and from which the UAV must remain >100ft.
Thanks.