This seems like another variant of Global slashing attack on ETH2 - #9 by kladkogex – assuming that you can hack a lot of validator keys, you can do devastating attacks.
Yes, they can be slashed. If you don’t, you would just try to exit quickly after committing a slashable offence, so slashing would be pretty useless.