I grow trees underground all the time. Just put one torch in the block right next to the sapling and it grows just fine. Same in the nether. Once, a long time ago, I was building a pigman grinder that took loads of trap doors so I put a huge tree farm in the nether. No problems.