That behavior breaks expected browser navigation and can feel like back-button hijacking, which is generally considered a UX anti-pattern. It would be better to push history state only at meaningful navigation boundaries.
Sharing this in the spirit of constructive feedback.