A similar agreement did get them out of Austria, and that’s why Austria is not a NATO member to this day.
“Russia wants ‘ironclad’ guarantee that Ukraine will be barred from NATO: official”
Hard to see how that happens, given the West’s record of LYING to the Russians. The Russians may, and likely do, trust Trump - but they know he’ll be gone in a few years and the US can revert back to Neocon rule very easily, thereby NULLIFYING any agreements he might have made.
The best that I can come up with for meeting this demand is a treaty ratified by the US Senate or that the US pulls back to at least Cold War lines, if not completely out of Europe. The treaty option requires 14 Democrat votes (minimum), so that will likely never happen, due to the Democrats being now the Party of War (along with the Zeepers), so it leaves the withdraw option as the only practical possibility.