Connection of custom gpts with my frontend

Hey guys,

just wanted to know if i can connect my own custom gpt with another frontend.
Picture this: I have a front end and i have a custom gpt already listed in chatgpt… Can i connect my frontend with my custom gpt with the help of any middle-ware?