Is it possible to create a Firefox or Chrome extension which ran either a full node or light node?
It should be possible to create a light node. A full node is probably impossible. Your main limitation is storage space (5Mb for some browsers). This page on the light client protocol specifically mentions extensions, though it's a year old. You would also not want to use too much CPU, as the user wouldn't thank you for running at a high CPU continuously.