Waze doesn't seem to allow you to specify whether you're a trade vehicle or not so it keeps routing trade vehicles into Regents (and the other Royal) Park which they are prohibited from and liable to be fined.
Google Maps doesn't have anywhere to tell it you're driving a large vehicle.
Knowing about and respecting size and weight restrictions is usually a feature on 'professional' sat nav units [1]. Serious delivery companies of course pay the premium to get this feature - but occasional van drivers don't.
You could do that, theoretically, from several days of driving, with false positives and false negatives galore. Or you could ask the user...I know, not data driven, boooriiiing, and requires one more interaction.
How would that be possible? My sister has a new VW Polo with a 1.0L 65bhp engine, the official time to 60 is a glacial 16.5 seconds. I'm sure its acceleration profile would match that of a fully loaded HGV.
The time to turn, the time to break, way of turning lanes, all of it could be used to infer a vehicle type. I am not saying they do it, but it's likely.
It's quite error prone. I doubt they do it. Also deriving acceleration data requires sub second speed sampling. This needs to be done on device as it sends too much data sampling over the wire otherwise.