This question was split into different questions for each workaround. See these two meta posts for more information.
Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like:
give @s minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}}
give @s stone_pickaxe{Unbreakable:1b}
give @s item_frame{EntityTag:{Invisible:1b}}
summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}}
summon tnt ~ ~ ~ {Fuse:20s}