I would be interested in that. I'm interested in your answers!
I have created 2 datapacks so far
The first was to set a home with / trigger sethome and then to return there with / trigger home
The second wrote you your coordinates in the chat when you died so that you have at least one more chance to get your stuff back x)
Cool! 😀 The second is extremely helpful!