The Supreme Court has already ruled that there is no right to Social Security, so yeah, by their twisted logic, they can.
Public benefits belong to the taxpayers at large. They are “common property.” And are not legally yours to keep. If you are no longer eligible to receive them, you must pay them back to the government.