well, in actual d&d, artificers not only cannot cast spells, they are specifically not spellcasters.
they only have access to infusions, and even if an infusion duplicates the effect of a spell, it is not considered a spell, nor can it be used on non-objects / non-constructs.
now, you don't...