@ MartinR is very correct regarding Original versus After Market Internal Drives
Starting somewhere are Monterey 12.3 and higher
The Installer would verify if the Internal Drive was Apple Original or Others
There is a way around this and conditional on if you still having the Original Apple Drive
Switch out the after market drive for the original apple drive
Run the installer to that drive
The Firmware contained in the Installer with update the computer Firmware
Reverse the previous, run the installer again to the after market drive