Absorption hearts

Is there a way to give the player absorption hearts without using the effect? I’ve tried messing around with the max_absorption attribute but it doesn’t seem to do anything.
Continue to help post