Thanks for asking ahead! Yes, lots of people run extra monitors with the laptop lid closed. You’ll want to be aware of what the laptop is configured to do by default when the lid closes - and how to change that.
And make sure that the 1st external monitor (that’s connected directly to the laptop’s VGA or HDMI port) stays on and the laptop keeps working even with the lid closed.
Then you can buy and add one of our USB graphics adapters for that 2nd external screen. On Windows, many people get two USB adapters so they are able to dock/undock with a single USB cable.
On Mac, it’s similar – except the Mac doesn’t have a setting – the only way to get the mac not to sleep is to have an external display connected directly to the Mac. That signals the Mac to no sleep with the lid closed. Then you can add extra USB displays.
Hope that background helps. Thanks again for asking!