Question: An extension cord is capable of bringing power to something that doesn't reach the wall.
Answer: yes