With the command in repeat command block:
execute as @e[type=item] run data merge entity @s {Health:5}
Any items throw in a fire will become invincible but nevertheless always present.
Why are they invisible ?
They becomes again visible during the "Pickup" animation.
Please do not mark unreleased versions as affected.
You don't have access to them yet.