Just a follow on: I just started renaming blocks in blocks, chainstate and received the startup error:
2024-05-19T05:46:48Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
2024-05-19T05:46:48Z Opening LevelDB in /home/xxxx3/.bitcoin/chainstate
2024-05-19T05:46:48Z Fatal LevelDB error: Corruption: 3 missing files; e.g.: /home/xxxx3/.bitcoin/chainstate/123425.ldb
2024-05-19T05:46:48Z You can use -debug=leveldb to get more complete diagnostic messages
2024-05-19T05:46:48Z Fatal LevelDB error: Corruption: 3 missing files; e.g.: /home/xxxx3/.bitcoin/chainstate/123425.ldb
2024-05-19T05:46:48Z : Error opening block database.
So if you want to create a corruption in db for testing, this works