Looks like the issue is caused by the fact that woocomerce checkout pages uses checkout blocks which from what I read doesn’t support custom fields or I haven’t found yet a way to do it.
If I create a new checkout page and add [woocommerce_checkout] shortcode the filter is called and I can hook in custom logic to the checkout form.
Do you maybe know how to do this with woocomerce checkout blocks?