

Yes, but you shouldn’t.
After a reboot, a lot of phones can only use the device’s default keyboard app for entering the unlock pin/password.
If you’ve removed or disabled it, you can get into a situation where you have no keyboard at all, and a delightful chicken-and-egg situation of needing a keyboard you don’t have until after unlocking the device to enter the code to unlock the device.
(A USB keyboard will let you escape this, for what that’s worth)
When I got my new phone recently, I asked of it what is by a wide margin my most common voice task; setting a timer for something I was cooking.
It presented a UI suggesting it had understood the assignment, but utterly failed to actually set the timer.
It was at that point I reverted to Assistant and forgot it existed.
This feels par for the course though; a bunch of effort spent on a few “hard” tasks to make it seem impressive, but zero on maintaining existing functionality that normal people actually use on a regular basis.