Totem of undying, but with potions.
That's very simple! Just combine a normal totem of undying with a potion.
Yes, just combine the totem you crafted with a glass bottle.
1.19 and 1.19.2 were tested and it works on both, you should be safe using it on 1.19.1.