A workaround for me was to increase touch and hold delay under Settings >> Accessibility >> interaction and dexterity >> touch and hold delay on Android version 12.
The prompt to turn on Google assistant was coming up after long pressing the home key.