Basically, yes. However, there are all sorts of reasons why it wouldn't work and you're not likley to be sure until you try it. If you want a simple, no fiddling solution, then I'd start with one of these...
You can use a WiFi extender that just plugs in to a nearby socket and connects to...