Of course, and to the extent technically possible. Modern AIs can do pretty much anything as long as there is a clear objective function, and the binary size is absolutely one of them. The problem is just that it is not a commonly asked objective.