Integrate an existing application to dfx

I want to integrate an existing Next.js project with a DFINITY dfx project and establish a link between the two, enabling me to access and utilize data from the server-side database of the Next.js project within the dfx project. Is this feasible?

Next.js can’t run on canisters, but if you just want to be able to call a next.js backend from a canister then yes, that is feasible