Yes, we can create that we can even create, read, update and also delete the cookie by using "document.cookie" property. And below is the syntax to create a cookie:-
document.cookie="name=value";
And below is the example to handle and create cookie
And below is the example to handle and create cookie