Based on the lyrics and the tone of the song, it is not about a literal cookie.
While the chorus repeats the phrase "Bon Bon", which can mean candy or sweet in French/Creole, the context of the song is clearly romantic. The lyrics describe feelings of love, deep connection, and admiration for a partner: The singer talks about "l'amour" (love) being sweet and calls the person "chéri" (darling).
The artist mentions that their feelings are real and serious ("ça c'est sérieux même") and that the person is their "number 1". The song speaks to the natural feeling of being "solidly connected" to someone rather than following a script or an "application". In this context, "Bon Bon" is used as a term of endearment, comparing the person to something sweet.