Due to the security restriction and user experience guidlines in android and wear OS platform, application can not programatiaclly disable or update/modify the functionality of the gardware button (crown button) in Wear OS device including Pixel watch 3.
The control of hardware is managed at system level, similer to the back and home button work in android mobiles.