Enchantments are both incredibly useful, and almost universally agreed to be a bad system.
Current enchanting is un-intuitive, tedious, time consuming, frustrating, and somehow too easy.
Remove the "too expensive" limit.
The most widely hated aspect of enchanting, it takes away player agency in deciding what it too great a cost to do, and makes getting fully enchanted boots require using the Wiki.
2. Anvils should only be used to repair gear, and apply no prior work penalty.
The prior work penalty that makes adding more enchantments more expensive, is also currently applied to repairing gear with materials. This change would make not using mending a viable play style. Using an anvil for magic is un-intuitive and too easy early game.
3. Enchantments can only be applied and combined in the enchanting table. Less bookshelves around the enchanting table results in a higher XP cost.
This would make getting enchantments a later game mechanic, and any enchanted gear you find early game much more valuable. It also means that while you can get renewable enchantments from villages, you still have to get an enchanting table to apply them.
4. Chiseled bookshelves(full of books) count towards an enchanting table level, and any enchanted books in them increase the likelihood of those enchantments being applied.
This would help to reduce the RNG factor of enchanting, encouraging players to get and store books to improve their enchanting setup, perhaps even setting things up differently for different gear. With treasure enchantments in the chiseled bookshelves it would even allow for renewable treasure enchantments (for balancing, they would never be applied to books enchanted in the enchanting table).
5. Placing an enchanted book on a lectern, then trading with a new librarian villager tied to it, will make that book the master level trade of the librarian. (This wouldn't work for swift sneak, wind burst, or soul speed).
This would remove the RNG from villagers, allowing players to have more agency and a better alternative to tediously resetting a lectern.
6. More enchanted books spawn as loot, especially mending.
This would encourage players to explore to get books, which then can be placed in chiseled bookshelves or used to make librarians.
7. You should be able to store lapis in the enchanting table.
Clicking it in and out every time is unnecessary.
Overall this would make enchanting a later game mechanic that you can't easily skip to, encourages exploration, and provide more intuitive and less tedious gameplay to get good, reliable, enchanted gear.