The answer is yes. As long as the SSID, Security key method and key are the same. You are implementing something called Wireless Distributed System. True WDS concept have different ways of implementing it. You can google it.
The link below is to implement WDS using a popular wireless firmware called ddwrt
http://www.wi-fiplanet.com/tutorials/article.php/3628576Good Luck!