for example you may try something like this in your functions.php
add_action('get_sidebar', 'special_sidebar');
function special_sidebar($sidebar) {
$new_side_bar = get_field('ACFSideBarField');
if ($new_side_bar) {
return $new_side_bar;
}
return $sidebar;
}
it will change the $name in get_sidebar($name)