Can we we use chat generated work?

(I am a fresh IT stident and i am trying to understand a few things , sorry if i dont make sense. I plan to create something in the future that would possibly help people out)

I am new here and i was wondering if people could put ChatGPT into like a website or an app? Like some of the features Chatgpt has are juat phenomenal like the way it answers whole codes.

It literally did my homework questions in seconds. Like why not build a coding app using all that?

Can we build an app using its features? (Legally)

ChatGPT is not available as an API yet, but people have made a lot of tools with text-davinci-003, Codex, and other models.