A plugin being made to solve this, as there are several steps to be taken including a plugin that overrides the temp health similar to plugins that virtually make you have over 65535 hp.
If I happen to forget to make this plugin, this console command demonstrates the solution, where 500 is the temporary HP to give, 0.27 is the cvar "pain_pills_decay_rate"