Could have? If Mccall and Rahman did, yes, he could have. Doesn't mean he'd be any sort of favorite though.
If Lewis was able to be tagged by Tua, Tyson, Morrison, hurt by Holyfield, Klitschko, Briggs, Bruno, and knocked out by Rahman and McCall, I see no reason why Joshua wouldn't be able to do some damage. However, Lewis beat all those fighters that I mentioned, and if Joshua did fight Lewis, I also see no reason why Joshua wouldn't be on that list of fighters Lennox Lewis fought (which is actually everyone he faced)