Only if the TV has a smart platform (Android TV, webOS, Tizen, Roku TV, Google TV) that supports game apps.
Built-in Wi-Fi alone ≠ gaming. You need the software ecosystem and compute power.