Third-party solution as are likely be laggy. The Luna Display support site has this:

As many modern web sites use video for even the simplest elements, your may find the lag more than annoying.
Only a free-standing exernal monitor will run smoothly and offer maximum display options. It will also use less power that a fully-running iMac, and will be easier to set up. Some uses of iMacs as externals, even with the hacks, can require cabling and adapters that cost up to US$90. You can get a pretty nice monitor that does far more for just a little exra.
Save yourself the grief and disappointment and embrace the sage advice others have offered re externals.