On the one hand, it appears that the rat is choosing to lean against the lever of its own free will, but clearly that isn't true if every rat, provided with that initial stimulation, could no longer resist leaning on it until their death.
A fertile ground for agency to bloom must be grown, cultivated, and nurtured, like a garden. We must provide a system in which people can grow to be themselves.