Bubble Backend Workflow to retrieve data from a user cookie

Is it possible to build a public bubble backend workflow API that authenticate a cookie with a user, so for example we pass a user cookie to this endpoint as a param and receive some details about the corresponding user such as whether he’s logged in or not?