why not just use the stats as designed? you seem to be arriving to a very similar place but it will be more work to track how strong things are.
getting access to higher multipliers (b.hp * 0.5) would be the same as getting higher attack stats but you'd have to write out each attack instead of just incrementing it.
Its not that it isnt doable its more of why would you spend your time doing it?
I don't really see the point in using mHP as part of a damage formula unless you're using a percentage of it to put a ceiling on how much damage can be done. And even, then I wouldn't advertise the skill within the game as using mHP in that way. But then again, I prefer simplicity.
The whole purpose of this post was to determine any viability in using your enemies HP outside of the niche style mechanics (such as FF Demi spell). From what we have seen from everyone's posts, there doesn't seem to be such a thing or if there is it would be to overly complicated to even include.
Here's something that could make a interesting twist in this hp based formula:
b.maxhp * (0.1*(a.mat/b.mdf))
In this case, the Attacker's magic attack "collides" with the Target's magic defense in a multiplicative way, making the damage value as strong (or as weak) as it's caster while still giving the target ways of survivability.
I have 2 skills that utilize HP: (they are rather unimaginative though)
Execute deals more damage the lower the target's HP is...
(a.atk * 3) * (1 - b.hp / b.mhp)
Revenge deals more damage the lower the user's HP is...
(a.atk * 3) * (1 - a.hp / a.mhp)
Note: I also utilize armor scaling for damage mitigation instead of a linear armor system. This introduces diminishing returns for armor.
All in all, I believe there is room to incorporate HP into a damage formula, but probably not as a basis for the majority of the game's attacks. I prefer to reserve them for niche applications.