To add functionality that allows you to add an HTML (ID) anchor to a section, add the following supports when you register your custom ACF block:
'supports' => array( 'anchor' => true ),
Remember to add it to your markup using:
id="<?php echo esc_attr( $block['anchor'] ); ?>"
Thanks so much! this was super helpful. I needed a quick reference to add anchor links.