Yes, refer to the link you posted above for details.
Remove isn't the right word. When you build your own web chat client, it's up to you what technologies you use because you're starting entirely from scratch. Building your own interface literally doesn't use anything provided by Genesys on the client side (unless you choose to use one of our optional SDKs). You build your own application and receive and send messages per the websocket spec you linked above.
Thanks Tim for your reply , i wanna emphasize on the local storage usage part , The provided genesys Functionality of usiing browser local storage , is that coming from genesys.min.js
If you're using the out of the box messenger, it behaves how it behaves and you can only configure it per the documentation. You cannot create your own features and build customizations into something that is not customizable. If you're building your own custom client, you have full control over everything because all Genesys provides is the WebSocket endpoint you connect to.