Yes, you can, there is an additional parameter that you can pass $ hook to this package. eg,
add_filter( 'woocommerce_shipping_free_shipping_is_available', 'wcs_my_free_shipping', 20,2 ); function wcs_my_free_shipping( $is_available, $package){ //Your code for free shipping for a selected address found in $package return $is_available }
$ package contains the address you entered, so you can use it for free delivery of selected postal codes or streets.
source share