You can remap your ctrl and alt keys using udev hwdb, e.g., interchanging ctrl and caps keys
https://wiki.archlinux.org/title/Map_scancodes_to_keycodes#Example_for_custom_hwdb
And you can use ctrl + [ to send an escape character