As long as you need both external displays to show the same content, it should work fine. So you'll have the iMac display and a second display that is an expansion but mirrored on both displays, or ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results