Could powerline work with electrical cables which aren't connected to AC power, e.g. two outlets on opposite sides of the same wall, connected to each other, but disconnected from the breaker panel?
You'd need some power for the actual powerline adapters. But if you have two outlets directly linked I would just remove the panel and pass an ethernet cable through the same pipe used for the power cord.