Yeah I think an artificer would be perfect for that role. I only mention apothecary because that class puts me in mind of a "medical artificer" in terms of flavor. In terms of mechanics it plays more like a reskinned warlock that gets more and higher level spell slots. But it's totally up to you.