To the extent this is technically possible, if the gig economy companies wanted to do this, they could do it already.
When the driver signs up, check their passport or driving license in the normal manner, and take a matching portrait you keep on file. Any time you want to, compare a selfie to the portrait on file.
Reason they don't do this is it's profitable to hire people who can't legally work in the UK, if they can get away with it - and the government lets them get away with it.