Depends on the router.
Packet size is pretty much the same across all types of traffic though - it isn't going to help you identify a malicious source by any means. Packets do a thing where they increase in size until there is loss, where it stops growing.
But yeah with a good router, maybe somehting with pfsense, can do all of this and more.