root access – Is it possible to take pictures from both front and rear camera at the same time (like bothie)

There are apps that can do this but they are not exactly Bothie. The app allows the user to first take a picture from rear camera and then from the front camera (but not simultaneously). Nokia first came up with this idea in 2017.
More about Bothie

I am just wondering if this is a hardware feature or software. I can handle the software issue(with root) i think. And if this is not possible then can you please explain why and how it works?

Thanks a ton in advance : )