I also recieve an issue occasionally putting items in my inventory, taking off armour and it goes back on (no curse of binding) taking items from chests or even putting items in an enchantment table, only really happens when putting an item in a blank spot however this isn't constant but when it does happen it is occurring for around 5 mins
I've found the best way to make it run somewhat smooth is by turning off everything such as smooth lighting, fancy leaves, particle effects, on screen animation etc.
I also made the render distance the lowest and turned anti-aliasing to the lowest.
It still freezes but I'd say it runs smoother.
Are you logged into a microsoft account?
The only way I can earn achievements is if I'm logged in to one 🙂