This capability would be have to be renabled ever each system update, but starting with macOS Sonoma 14.0 there is a file that survives system updates to enable it permanently.
(from post in https://sixcolors.com/post/2023/08/in-macos-sonoma-touch-id-for-sudo-can-survive-updates/)
Open the Terminal app. Navigate to the directory that stores the authentication files by typing the following:
cd /etc/pam.d