I did this a number of years back with a GTX 750ti… because that was the last good card that ran without a dedicated power supply connection.
Even if you rigged a power connector, it’s be damn hard trying to keep a modern card stable with the 250w-325w power supply in the Optiplix
Yeah I see this as more of a “Printers are an antiquated technology that hasn’t changed much in the last 30+ years” problem.