Well this is what it says on Wookieepedia:
No he didn't. The ability that Anakin learned was a Jedi ability that required sacrifice.
Darth Vader learned of this ability through Darth Sidious, and upon his death, the spirits of Kenobi and Yoda completed his training by granting him the last step in becoming a spirit. Anakin's spirit appeared as that of his younger self, prior to his fall to the dark side.