Could you explain why you want to do this?
Sending a close page feedback can be don via runtime API
Though the close action only uses the order of the stack. You can only close the last item, and not change the history.
The new 8.14 release enables to close multiple items https://docs.mendix.com/refguide/close-page
There are some options to hack the browser history. But this is a supported API and could have some implication of the client state, now or in the future. https://developer.mozilla.org/en-US/docs/Web/API/History_API