Is it possible we use next js to build webview in our cloud bot?

we cant use simple HTML, because we need to call client API to get the list of data.

and every field is determined by what user select in previous field and in every field we need to call client api.

That is why we use next.js.

question : Is it possible we use next js to build webview in our cloud bot?

where do we need to deploy to get the url