CC65 is just not a very good compiler by modern standards. There's an experimental 6502 backend for LLVM that outputs fairly good code. (A Z80 backend also exists, AIUI.)
EDIT: The answer is no:
https://github.com/llvm-mos/llvm-mos-sdk#notably-missing-fea...