Yes! You’ll need to strip out the logic board replacing it with the needed controller board.
For your system you will need this driver board [link|https://www.aliexpress.us/item/3256803888051241.html?|27” iMac A1312 A1316 A1407 2K LCD Controller Board Monitor Display kit For LM270WQ1 A2 C2 E3 F1 B3 screen driver board] and here’s the guide to open your system up to clean you what’s not needed [guide|160659]