I don't think there is an option in-game, but you can use Windows accessibility features to make Alt (and Ctrl) sticky keys (enable the option 'lock modifier keys when pressed twice in a row' in the Windows accessibility options). In-game, that would it possible to make Alt a toggle.