Hmmm.... Shouldn't some legislators be done on a similar basis?
https://www.bbc.co.uk/news/world-us-canada-68223118
I think it would be difficult to make a legal case for that.
However, I think there might be some mileage in putting some responsibility for a crime committed with a gun on the last known owner of that gun. It might even get past the US constitution.