LOL, that is a looong list. Probably easier to list the ones that you can't have in a 40, tangs, most predator fish, large angels, large wrasses come to mind for ones you couldn't do.
You can choose from hundreds of types of gobies, blennies, clowns, some dwarf angels, dartfish, small wrasses, small hawkfish to name a few. Obviously you can't have too many fish in that size, but you could have a clown, angel, a couple gobies, and a blenny in that size tank if added over the period of several months. Personally I like wrasses over clowns and would pick a wrasse instead, but most people want a clown in a sw tank, especially in a new tank, and they are hardy and good beginner fish.