Could changing the hard-coded average chunking size break things?

No, this should not break anything. But keep in mind that you must only access the repo with the same hard-coded binary - else you completely loose deduplication.

And there might be some side effects as smaller chunk sizes means you have much more chunks and therefore larger trees and a larger index.