Arming your enemy's enemy is nothing new.
Providing weapons has been a US-Soviet past time for the whole Cold War.
In this case, I think the US could have even moved in troops without being at war, early in the invasion. It just needs a pretext. By far the best response a week in, when Russia claimed chemical weapons, Nazis, etc., would have been to send in a multilateral force to investigate Russia's claims. It's face-saving for the Russians and ends the war.
Tensions are too high for that now.
I've got a feeling we might be pulling a Russia... Ie. None of our troops are there officially, bit there's an awful lot of troops volunteering and 'on holiday' and 'advising' there.
There are "rules" (and by rules I mean what is interpreted as "participating" vs "supporting" in a conflict that have been established and enforced for well over a thousand years. And supplying weapons has been firmly established in the 'supporting' category not the 'participating' category.
This conflict is illustrating a lot of things that haven't been seen since the cold war, which is an opportunity to learn new things about how the world works if you haven't seen it before.
The next interesting step happens when this conflict settles out, what does it look like.