It would work I guess, I have never put one in a small pci express slot.
Just be sure to have the antenna facing your router. If you put it under a desk against a wall you will block your signals from most directions. This is the main issue with internal cards, they have nice big antenna but they are located very close to the metal case.