The dissembled ROM and mappings has been documented since the 80s. (Vic20, PET, 64 and 128).
My references (35 years) ago were some books published by Data Becker GmbH.
Note also that there were basic extensions to address the limitations of CBM basic like the Simon basic cartridge.
That Simon basic was a wonder in their own. Written by a gifted teenager and extending by mapping addresses in the ROM. It was possible to write sprites and graph in basic without pokes (no ASM needed).