Absolutely not. A human driver has to watch the road and can’t scrutinize a gun.
And it’s also not easy to tell toys from real guns. Many cities illegalized toy guns on public transit because people were putting orange tips on real guns to make them look like toys. 3D-printed guns rarely look like they can actually fire, even though they can.
A human driver has a vested interest in determining if the person sitting behind them is holding a real gun or not.